WordGPT

#332299 color

#332299 is a blue colour. It is rgb(51, 34, 153) in RGB and hsl(249, 64%, 37%) in HSL. Text in white reads better on it: the contrast is 11.48:1 against white and 1.83:1 against black.

#332299
#332299: #332299
Complementary#332299#889922Analogous#224D99#332299#6E2299Triadic#332299#993322#229933Tetradic (square)#332299#99224D#889922#22996ESplit complementary#332299#996E22#4D9922
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
080619110b331a114d2217662b1c803322995547aa776cbb9991ccbbb5dddddaee
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{#332299}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{99}_{16}=153
  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=249∘,S=64%,L=37%H=249^\circ,\quad S=64\%,\quad L=37\%
  3. 3

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

    249^\circ + 180^\circ = 69^\circ ;\Rightarrow; \mathrm{#889922}
  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=11.48:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 11.48:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#332299} = \mathrm{rgb}(51, 34, 153) \]
\[ \mathrm{#332299}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{99}_{16}=153 \]
\[ H=249^\circ,\quad S=64\%,\quad L=37\% \]
\[ 249^\circ + 180^\circ = 69^\circ ;\Rightarrow; \mathrm{#889922} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 11.48:1\ \text{(on white)} \]

#332299 in every colour format

FormatValue
HEX#332299
RGBrgb(51, 34, 153)
RGB (percent)rgb(20.0%, 13.3%, 60.0%)
HSLhsl(249, 64%, 37%)
HSV / HSBhsv(249, 78%, 60%)
CMYKcmyk(67%, 78%, 0%, 40%)
Decimal3351193
Descriptionblue

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#080619 #110B33 #1A114D #221766 #2B1C80
This colour#332299
Tints (mixed with white)#5547AA #776CBB #9991CC #BBB5DD #DDDAEE

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#003E9C22
Deuteranopia#00359717
Tritanopia#00455C68
Grayscale#393939-

Nearest named colours

NameHex
Navy#000080
Indigo#4B0082
Dark blue#00008B
Rebecca purple#663399

Questions

What is the RGB value of #332299?

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

What is the HSL value of #332299?

hsl(249, 64%, 37%): a hue of 249°, 64% saturation and 37% lightness.

What is the complementary colour of #332299?

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

Should I use white or black text on #332299?

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

What is the CMYK value of #332299?

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

What is the closest named colour to #332299?

Navy (#000080).

Matching colours

A little darker, a little lighter

Make a palette

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