WordGPT

#332288 color

#332288 is a dark blue colour. It is rgb(51, 34, 136) in RGB and hsl(250, 60%, 33%) in HSL. Text in white reads better on it: the contrast is 12.17:1 against white and 1.73:1 against black.

#332288
#332288: #332288
Complementary#332288#778822Analogous#224488#332288#662288Triadic#332288#883322#228833Tetradic (square)#332288#882244#778822#228866Split complementary#332288#886622#448822
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
080617110b2d1a114422175b2b1c7133228855479c776cb09991c4bbb5d7dddaeb
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{#332288}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{88}_{16}=136
  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=250∘,S=60%,L=33%H=250^\circ,\quad S=60\%,\quad L=33\%
  3. 3

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

    250^\circ + 180^\circ = 70^\circ ;\Rightarrow; \mathrm{#778822}
  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=12.17:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 12.17:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#332288} = \mathrm{rgb}(51, 34, 136) \]
\[ \mathrm{#332288}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{88}_{16}=136 \]
\[ H=250^\circ,\quad S=60\%,\quad L=33\% \]
\[ 250^\circ + 180^\circ = 70^\circ ;\Rightarrow; \mathrm{#778822} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 12.17:1\ \text{(on white)} \]

#332288 in every colour format

FormatValue
HEX#332288
RGBrgb(51, 34, 136)
RGB (percent)rgb(20.0%, 13.3%, 53.3%)
HSLhsl(250, 60%, 33%)
HSV / HSBhsv(250, 75%, 53%)
CMYKcmyk(63%, 75%, 0%, 47%)
Decimal3351176
Descriptiondark blue

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text12.17:1passpasspasspass
Black text1.73:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#080617 #110B2D #1A1144 #22175B #2B1C71
This colour#332288
Tints (mixed with white)#55479C #776CB0 #9991C4 #BBB5D7 #DDDAEB

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#00398B20
Deuteranopia#00328616
Tritanopia#003E5360
Grayscale#363636-

Nearest named colours

NameHex
Midnight blue#191970
Rebecca purple#663399
Indigo#4B0082
Navy#000080

Questions

What is the RGB value of #332288?

rgb(51, 34, 136): red 51, green 34, blue 136.

What is the HSL value of #332288?

hsl(250, 60%, 33%): a hue of 250°, 60% saturation and 33% lightness.

What is the complementary colour of #332288?

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

Should I use white or black text on #332288?

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

What is the CMYK value of #332288?

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

What is the closest named colour to #332288?

Midnight blue (#191970).

Matching colours

A little darker, a little lighter

Make a palette

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