#204D9B#204D9B

#204D9B is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.137 H 260.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#204D9B
RGBrgb(32, 77, 155)
HSLhsl(218, 66%, 37%)
HSVhsv(218, 79%, 61%)
CMYKcmyk(79.4%, 50.3%, 0%, 39.2%)
CIE-LABlab(33.94, 14.00, -46.95)
CIE-LCHlch(33.94, 48.99, 286.61°)
OKLaboklab(43.51% -0.0224 -0.135)
OKLCHoklch(43.51% 0.137 260.6)
XYZxyz(9.1638, 7.9803, 32.0614)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D9B #9B6E20
analogous
#208B9B #204D9B #31209B
triadic
#204D9B #9B204D #4D9B20
tetradic
#204D9B #9B208B #9B6E20 #209B31
square
#204D9B #9B208B #9B6E20 #209B31
split-complementary
#204D9B #9B3120 #8B9B20
monochromatic
#0B1B36 #163468 #204D9B #2A66CE #5989DD

Accessibility & contrast

On white

8.09
#204D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#204D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D9B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D9B#FFFFFF#000000##FFFFFF
##204D9B1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204d9b;
/* rgb */ color: rgb(32, 77, 155);
/* oklch */ color: oklch(43.5% 0.137 260.6);
Tailwind
colors: {
  custom: {
    50: '#6f7eb9',
    500: '#204d9b',
    950: '#000000',
  },
}
SCSS
$custom: #204d9b;
$custom-light: #6f7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#204d9b",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 218.049,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.13687,
    "h": 260.6
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#204D9B
secondary
#C19A56
accent
#AB3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #204D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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