#204D9F#204D9F

#204D9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.142 H 261.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#204D9F
RGBrgb(32, 77, 159)
HSLhsl(219, 66%, 37%)
HSVhsv(219, 80%, 62%)
CMYKcmyk(79.9%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.23, 15.60, -48.90)
CIE-LCHlch(34.23, 51.33, 287.69°)
OKLaboklab(43.82% -0.0218 -0.1408)
OKLCHoklch(43.82% 0.142 261.2)
XYZxyz(9.5053, 8.1169, 33.8599)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D9F #9F7220
analogous
#208D9F #204D9F #32209F
triadic
#204D9F #9F204D #4D9F20
tetradic
#204D9F #9F208D #9F7220 #209F32
square
#204D9F #9F208D #9F7220 #209F32
split-complementary
#204D9F #9F3220 #8D9F20
monochromatic
#0B1C39 #16346C #204D9F #2A66D2 #5B8ADE

Accessibility & contrast

On white

8.00
#204D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204D9F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D9F#FFFFFF#000000##FFFFFF
##204D9F1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204d9f;
/* rgb */ color: rgb(32, 77, 159);
/* oklch */ color: oklch(43.8% 0.142 261.2);
Tailwind
colors: {
  custom: {
    50: '#707ebc',
    500: '#204d9f',
    950: '#000000',
  },
}
SCSS
$custom: #204d9f;
$custom-light: #707ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#204d9f",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 218.74,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43819,
    "c": 0.14246,
    "h": 261.2
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#204D9F
secondary
#C29D59
accent
#AD3EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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