WordGPT

#3333CC color

#3333CC is a blue colour. It is rgb(51, 51, 204) in RGB and hsl(240, 60%, 50%) in HSL. Text in white reads better on it: the contrast is 8.45:1 against white and 2.49:1 against black.

#3333CC
#3333CC: #3333CC
Complementary#3333CC#CCCC33Analogous#3380CC#3333CC#8033CCTriadic#3333CC#CC3333#33CC33Tetradic (square)#3333CC#CC3380#CCCC33#33CC80Split complementary#3333CC#CC8033#80CC33
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0808221111441a1a662222882b2baa3333cc5555d57777dd9999e6bbbbeeddddf7
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{#3333CC}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{CC}_{16}=204
  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=60%,L=50%H=240^\circ,\quad S=60\%,\quad L=50\%
  3. 3

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

    240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#CCCC33}
  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=8.45:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 8.45:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#3333CC} = \mathrm{rgb}(51, 51, 204) \]
\[ \mathrm{#3333CC}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{CC}_{16}=204 \]
\[ H=240^\circ,\quad S=60\%,\quad L=50\% \]
\[ 240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#CCCC33} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 8.45:1\ \text{(on white)} \]

#3333CC in every colour format

FormatValue
HEX#3333CC
RGBrgb(51, 51, 204)
RGB (percent)rgb(20.0%, 20.0%, 80.0%)
HSLhsl(240, 60%, 50%)
HSV / HSBhsv(240, 75%, 80%)
CMYKcmyk(75%, 75%, 0%, 20%)
Decimal3355596
Descriptionblue

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#080822 #111144 #1A1A66 #222288 #2B2BAA
This colour#3333CC
Tints (mixed with white)#5555D5 #7777DD #9999E6 #BBBBEE #DDDDF7

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0054D024
Deuteranopia#0045C916
Tritanopia#00607D84
Grayscale#4D4D4D-

Nearest named colours

NameHex
Dark blue#00008B
Blue violet#8A2BE2
Medium blue#0000CD
Navy#000080

Questions

What is the RGB value of #3333CC?

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

What is the HSL value of #3333CC?

hsl(240, 60%, 50%): a hue of 240°, 60% saturation and 50% lightness.

What is the complementary colour of #3333CC?

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

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

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

What is the CMYK value of #3333CC?

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

What is the closest named colour to #3333CC?

Dark blue (#00008B).

Matching colours

A little darker, a little lighter

Make a palette

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