#204D9A#204D9A

#204D9A is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.135 H 260.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#204D9A
RGBrgb(32, 77, 154)
HSLhsl(218, 66%, 36%)
HSVhsv(218, 79%, 60%)
CMYKcmyk(79.2%, 50%, 0%, 39.6%)
CIE-LABlab(33.87, 13.61, -46.46)
CIE-LCHlch(33.87, 48.41, 286.32°)
OKLaboklab(43.44% -0.0225 -0.1336)
OKLCHoklch(43.44% 0.135 260.4)
XYZxyz(9.0802, 7.9469, 31.6209)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D9A #9A6D20
analogous
#208A9A #204D9A #30209A
triadic
#204D9A #9A204D #4D9A20
tetradic
#204D9A #9A208A #9A6D20 #209A30
square
#204D9A #9A208A #9A6D20 #209A30
split-complementary
#204D9A #9A3020 #8A9A20
monochromatic
#0B1A35 #153467 #204D9A #2B66CD #5889DC

Accessibility & contrast

On white

8.11
#204D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#204D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D9A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D9A#FFFFFF#000000##FFFFFF
##204D9A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204d9a;
/* rgb */ color: rgb(32, 77, 154);
/* oklch */ color: oklch(43.4% 0.135 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7eb8',
    500: '#204d9a',
    950: '#000000',
  },
}
SCSS
$custom: #204d9a;
$custom-light: #6f7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#204d9a",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 154
  },
  "hsl": {
    "h": 217.869,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.13547,
    "h": 260.4
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#204D9A
secondary
#C09956
accent
#AA3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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