WordGPT

#3333AA color

#3333AA is a muted blue colour. It is rgb(51, 51, 170) in RGB and hsl(240, 54%, 43%) in HSL. Text in white reads better on it: the contrast is 9.57:1 against white and 2.19:1 against black.

#3333AA
#3333AA: #3333AA
Complementary#3333AA#AAAA33Analogous#336FAA#3333AA#6F33AATriadic#3333AA#AA3333#33AA33Tetradic (square)#3333AA#AA336F#AAAA33#33AA6FSplit complementary#3333AA#AA6F33#6FAA33
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
08081c1111391a1a552222712b2b8e3333aa5555b87777c69999d5bbbbe3ddddf1
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#3333AA}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{AA}_{16}=170
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=240∘,S=54%,L=43%H=240^\circ,\quad S=54\%,\quad L=43\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#AAAA33}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=9.57:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 9.57:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#3333AA} = \mathrm{rgb}(51, 51, 170) \]
\[ \mathrm{#3333AA}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{AA}_{16}=170 \]
\[ H=240^\circ,\quad S=54\%,\quad L=43\% \]
\[ 240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#AAAA33} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 9.57:1\ \text{(on white)} \]

#3333AA in every colour format

FormatValue
HEX#3333AA
RGBrgb(51, 51, 170)
RGB (percent)rgb(20.0%, 20.0%, 66.7%)
HSLhsl(240, 54%, 43%)
HSV / HSBhsv(240, 70%, 67%)
CMYKcmyk(70%, 70%, 0%, 33%)
Decimal3355562
Descriptionmuted blue

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text9.57:1passpasspasspass
Black text2.19:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#08081C #111139 #1A1A55 #222271 #2B2B8E
This colour#3333AA
Tints (mixed with white)#5555B8 #7777C6 #9999D5 #BBBBE3 #DDDDF1

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#004BAE19
Deuteranopia#0040A813
Tritanopia#00536A68
Grayscale#454545-

Nearest named colours

NameHex
Rebecca purple#663399
Slate blue#6A5ACD
Navy#000080
Indigo#4B0082

Questions

What is the RGB value of #3333AA?

rgb(51, 51, 170): red 51, green 51, blue 170.

What is the HSL value of #3333AA?

hsl(240, 54%, 43%): a hue of 240°, 54% saturation and 43% lightness.

What is the complementary colour of #3333AA?

#AAAA33, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #CCCC55.

Should I use white or black text on #3333AA?

White. White gives 9.57:1 and black 2.19:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #3333AA?

cmyk(70%, 70%, 0%, 33%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #3333AA?

Rebecca purple (#663399).

Matching colours

A little darker, a little lighter

Make a palette

    #3333AA color: RGB, HSL, CMYK, shades and matching palettes | WordGPT