#204A9A#204A9A

#204A9A is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.139 H 261.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#204A9A
RGBrgb(32, 74, 154)
HSLhsl(219, 66%, 36%)
HSVhsv(219, 79%, 60%)
CMYKcmyk(79.2%, 51.9%, 0%, 39.6%)
CIE-LABlab(33.00, 15.64, -47.87)
CIE-LCHlch(33.00, 50.36, 288.09°)
OKLaboklab(42.77% -0.0201 -0.1378)
OKLCHoklch(42.77% 0.139 261.7)
XYZxyz(8.8751, 7.5367, 31.5526)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A9A #9A7020
analogous
#20879A #204A9A #33209A
triadic
#204A9A #9A204A #4A9A20
tetradic
#204A9A #9A2087 #9A7020 #209A33
square
#204A9A #9A2087 #9A7020 #209A33
split-complementary
#204A9A #9A3320 #879A20
monochromatic
#0B1935 #153267 #204A9A #2B62CD #5886DC

Accessibility & contrast

On white

8.37
#204A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204A9A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A9A#FFFFFF#000000##FFFFFF
##204A9A1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204a9a;
/* rgb */ color: rgb(32, 74, 154);
/* oklch */ color: oklch(42.8% 0.139 261.7);
Tailwind
colors: {
  custom: {
    50: '#6f7bb8',
    500: '#204a9a',
    950: '#000000',
  },
}
SCSS
$custom: #204a9a;
$custom-light: #6f7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#204a9a",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 154
  },
  "hsl": {
    "h": 219.344,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.13925,
    "h": 261.7
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#204A9A
secondary
#C09C56
accent
#AE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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