#204E9A#204E9A

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

Color values

HEX#204E9A
RGBrgb(32, 78, 154)
HSLhsl(217, 66%, 36%)
HSVhsv(217, 79%, 60%)
CMYKcmyk(79.2%, 49.4%, 0%, 39.6%)
CIE-LABlab(34.17, 12.93, -45.99)
CIE-LCHlch(34.17, 47.77, 285.71°)
OKLaboklab(43.66% -0.0234 -0.1322)
OKLCHoklch(43.66% 0.134 260)
XYZxyz(9.1507, 8.0879, 31.6444)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E9A #9A6C20
analogous
#208B9A #204E9A #2F209A
triadic
#204E9A #9A204E #4E9A20
tetradic
#204E9A #9A208B #9A6C20 #209A2F
square
#204E9A #9A208B #9A6C20 #209A2F
split-complementary
#204E9A #9A2F20 #8B9A20
monochromatic
#0B1B35 #153467 #204E9A #2B68CD #588ADC

Accessibility & contrast

On white

8.02
#204E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204E9A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E9A#FFFFFF#000000##FFFFFF
##204E9A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204e9a;
/* rgb */ color: rgb(32, 78, 154);
/* oklch */ color: oklch(43.7% 0.134 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fb8',
    500: '#204e9a',
    950: '#000000',
  },
}
SCSS
$custom: #204e9a;
$custom-light: #6f7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#204e9a",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 217.377,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.13422,
    "h": 260
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#204E9A
secondary
#C09856
accent
#A93FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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