#204E9D#204E9D

#204E9D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.138 H 260.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#204E9D
RGBrgb(32, 78, 157)
HSLhsl(218, 66%, 37%)
HSVhsv(218, 80%, 62%)
CMYKcmyk(79.6%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.37, 14.13, -47.46)
CIE-LCHlch(34.37, 49.52, 286.57°)
OKLaboklab(43.89% -0.0229 -0.1365)
OKLCHoklch(43.89% 0.138 260.5)
XYZxyz(9.4036, 8.1891, 32.9768)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E9D #9D6F20
analogous
#208D9D #204E9D #30209D
triadic
#204E9D #9D204E #4E9D20
tetradic
#204E9D #9D208D #9D6F20 #209D30
square
#204E9D #9D208D #9D6F20 #209D30
split-complementary
#204E9D #9D3020 #8D9D20
monochromatic
#0B1B37 #16356A #204E9D #2A67D0 #5A8ADD

Accessibility & contrast

On white

7.96
#204E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#204E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E9D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E9D#FFFFFF#000000##FFFFFF
##204E9D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204e9d;
/* rgb */ color: rgb(32, 78, 157);
/* oklch */ color: oklch(43.9% 0.138 260.5);
Tailwind
colors: {
  custom: {
    50: '#707eba',
    500: '#204e9d',
    950: '#000000',
  },
}
SCSS
$custom: #204e9d;
$custom-light: #707eba;
$custom-dark: #000000;
JSON
{
  "hex": "#204e9d",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 217.92,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.13842,
    "h": 260.5
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#204E9D
secondary
#C19A57
accent
#AA3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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