WordGPT

#334499 color

#334499 is a muted blue colour. It is rgb(51, 68, 153) in RGB and hsl(230, 50%, 40%) in HSL. Text in white reads better on it: the contrast is 8.65:1 against white and 2.43:1 against black.

#334499
#334499: #334499
Complementary#334499#998833Analogous#337799#334499#553399Triadic#334499#993344#449933Tetradic (square)#334499#993377#998833#339955Split complementary#334499#995533#779933
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
080b191117331a224d222d662b39803344995563aa7782bb99a2ccbbc1dddde0ee
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{#334499}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{44}_{16}=68,\ 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=230∘,S=50%,L=40%H=230^\circ,\quad S=50\%,\quad L=40\%
  3. 3

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

    230^\circ + 180^\circ = 50^\circ ;\Rightarrow; \mathrm{#998833}
  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.65:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 8.65:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#334499} = \mathrm{rgb}(51, 68, 153) \]
\[ \mathrm{#334499}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{44}_{16}=68,\ B=\mathrm{99}_{16}=153 \]
\[ H=230^\circ,\quad S=50\%,\quad L=40\% \]
\[ 230^\circ + 180^\circ = 50^\circ ;\Rightarrow; \mathrm{#998833} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 8.65:1\ \text{(on white)} \]

#334499 in every colour format

FormatValue
HEX#334499
RGBrgb(51, 68, 153)
RGB (percent)rgb(20.0%, 26.7%, 60.0%)
HSLhsl(230, 50%, 40%)
HSV / HSBhsv(230, 67%, 60%)
CMYKcmyk(67%, 56%, 0%, 40%)
Decimal3359897
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 text8.65:1passpasspasspass
Black text2.43:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#080B19 #111733 #1A224D #222D66 #2B3980
This colour#334499
Tints (mixed with white)#5563AA #7782BB #99A2CC #BBC1DD #DDE0EE

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#02509C12
Deuteranopia#0047978
Tritanopia#00586751
Grayscale#4C4C4C-

Nearest named colours

NameHex
Dark slate blue#483D8B
Midnight blue#191970
Rebecca purple#663399
Slate blue#6A5ACD

Questions

What is the RGB value of #334499?

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

What is the HSL value of #334499?

hsl(230, 50%, 40%): a hue of 230°, 50% saturation and 40% lightness.

What is the complementary colour of #334499?

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

Should I use white or black text on #334499?

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

What is the CMYK value of #334499?

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

What is the closest named colour to #334499?

Dark slate blue (#483D8B).

Matching colours

A little darker, a little lighter

Make a palette

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