#204B9A#204B9A

#204B9A is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.138 H 261.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#204B9A
RGBrgb(32, 75, 154)
HSLhsl(219, 66%, 36%)
HSVhsv(219, 79%, 60%)
CMYKcmyk(79.2%, 51.3%, 0%, 39.6%)
CIE-LABlab(33.29, 14.96, -47.40)
CIE-LCHlch(33.29, 49.70, 287.51°)
OKLaboklab(42.99% -0.0209 -0.1364)
OKLCHoklch(42.99% 0.138 261.3)
XYZxyz(8.9424, 7.6713, 31.5750)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B9A #9A6F20
analogous
#20889A #204B9A #32209A
triadic
#204B9A #9A204B #4B9A20
tetradic
#204B9A #9A2088 #9A6F20 #209A32
square
#204B9A #9A2088 #9A6F20 #209A32
split-complementary
#204B9A #9A3220 #889A20
monochromatic
#0B1A35 #153267 #204B9A #2B64CD #5887DC

Accessibility & contrast

On white

8.29
#204B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#204B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B9A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B9A#FFFFFF#000000##FFFFFF
##204B9A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204b9a;
/* rgb */ color: rgb(32, 75, 154);
/* oklch */ color: oklch(43.0% 0.138 261.3);
Tailwind
colors: {
  custom: {
    50: '#6f7cb8',
    500: '#204b9a',
    950: '#000000',
  },
}
SCSS
$custom: #204b9a;
$custom-light: #6f7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#204b9a",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 218.852,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.13799,
    "h": 261.3
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#204B9A
secondary
#C09B56
accent
#AD3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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