#204D9E#204D9E

#204D9E is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.141 H 261.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#204D9E
RGBrgb(32, 77, 158)
HSLhsl(219, 66%, 37%)
HSVhsv(219, 80%, 62%)
CMYKcmyk(79.7%, 51.3%, 0%, 38%)
CIE-LABlab(34.15, 15.20, -48.42)
CIE-LCHlch(34.15, 50.75, 287.43°)
OKLaboklab(43.74% -0.022 -0.1393)
OKLCHoklch(43.74% 0.141 261)
XYZxyz(9.4189, 8.0823, 33.4048)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D9E #9E7120
analogous
#208C9E #204D9E #32209E
triadic
#204D9E #9E204D #4D9E20
tetradic
#204D9E #9E208C #9E7120 #209E32
square
#204D9E #9E208C #9E7120 #209E32
split-complementary
#204D9E #9E3220 #8C9E20
monochromatic
#0B1B38 #16346B #204D9E #2A66D1 #5B89DE

Accessibility & contrast

On white

8.03
#204D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#204D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D9E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D9E#FFFFFF#000000##FFFFFF
##204D9E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204d9e;
/* rgb */ color: rgb(32, 77, 158);
/* oklch */ color: oklch(43.7% 0.141 261.0);
Tailwind
colors: {
  custom: {
    50: '#707ebb',
    500: '#204d9e',
    950: '#000000',
  },
}
SCSS
$custom: #204d9e;
$custom-light: #707ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#204d9e",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 218.571,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.14107,
    "h": 261
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#204D9E
secondary
#C29C58
accent
#AC3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204D9E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#204D9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva