#204A9B#204A9B

#204A9B is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.141 H 261.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#204A9B
RGBrgb(32, 74, 155)
HSLhsl(220, 66%, 37%)
HSVhsv(220, 79%, 61%)
CMYKcmyk(79.4%, 52.3%, 0%, 39.2%)
CIE-LABlab(33.07, 16.03, -48.36)
CIE-LCHlch(33.07, 50.95, 288.34°)
OKLaboklab(42.85% -0.02 -0.1392)
OKLCHoklch(42.85% 0.141 261.8)
XYZxyz(8.9587, 7.5702, 31.9930)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A9B #9B7120
analogous
#20889B #204A9B #34209B
triadic
#204A9B #9B204A #4A9B20
tetradic
#204A9B #9B2088 #9B7120 #209B34
square
#204A9B #9B2088 #9B7120 #209B34
split-complementary
#204A9B #9B3420 #889B20
monochromatic
#0B1A36 #163268 #204A9B #2A62CE #5986DD

Accessibility & contrast

On white

8.35
#204A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#204A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A9B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A9B#FFFFFF#000000##FFFFFF
##204A9B1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204a9b;
/* rgb */ color: rgb(32, 74, 155);
/* oklch */ color: oklch(42.8% 0.141 261.8);
Tailwind
colors: {
  custom: {
    50: '#6f7bb9',
    500: '#204a9b',
    950: '#000000',
  },
}
SCSS
$custom: #204a9b;
$custom-light: #6f7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#204a9b",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 219.512,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.14066,
    "h": 261.8
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#204A9B
secondary
#C19C56
accent
#AF3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #204A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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