#204A9D#204A9D

#204A9D is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.143 H 262.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#204A9D
RGBrgb(32, 74, 157)
HSLhsl(220, 66%, 37%)
HSVhsv(220, 80%, 62%)
CMYKcmyk(79.6%, 52.9%, 0%, 38.4%)
CIE-LABlab(33.22, 16.83, -49.33)
CIE-LCHlch(33.22, 52.12, 288.84°)
OKLaboklab(43% -0.0198 -0.1421)
OKLCHoklch(43% 0.143 262.1)
XYZxyz(9.1281, 7.6379, 32.8849)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A9D #9D7320
analogous
#20899D #204A9D #34209D
triadic
#204A9D #9D204A #4A9D20
tetradic
#204A9D #9D2089 #9D7320 #209D34
square
#204A9D #9D2089 #9D7320 #209D34
split-complementary
#204A9D #9D3420 #899D20
monochromatic
#0B1A37 #16326A #204A9D #2A62D0 #5A86DD

Accessibility & contrast

On white

8.31
#204A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204A9D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A9D#FFFFFF#000000##FFFFFF
##204A9D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204a9d;
/* rgb */ color: rgb(32, 74, 157);
/* oklch */ color: oklch(43.0% 0.143 262.1);
Tailwind
colors: {
  custom: {
    50: '#707bbb',
    500: '#204a9d',
    950: '#000000',
  },
}
SCSS
$custom: #204a9d;
$custom-light: #707bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#204a9d",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 219.84,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.14346,
    "h": 262.1
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#204A9D
secondary
#C19E57
accent
#B03FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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