#204EA1#204EA1

#204EA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.144 H 261.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#204EA1
RGBrgb(32, 78, 161)
HSLhsl(219, 67%, 38%)
HSVhsv(219, 80%, 63%)
CMYKcmyk(80.1%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.66, 15.72, -49.41)
CIE-LCHlch(34.66, 51.85, 287.65°)
OKLaboklab(44.19% -0.0224 -0.1422)
OKLCHoklch(44.19% 0.144 261.1)
XYZxyz(9.7507, 8.3279, 34.8048)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204EA1 #A17320
analogous
#208EA1 #204EA1 #3320A1
triadic
#204EA1 #A1204E #4EA120
tetradic
#204EA1 #A1208E #A17320 #20A133
square
#204EA1 #A1208E #A17320 #20A133
split-complementary
#204EA1 #A13320 #8EA120
monochromatic
#0C1D3B #16356E #204EA1 #2A67D4 #5D8BDF

Accessibility & contrast

On white

7.88
#204EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#204EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204EA1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204EA1#FFFFFF#000000##FFFFFF
##204EA11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204ea1;
/* rgb */ color: rgb(32, 78, 161);
/* oklch */ color: oklch(44.2% 0.144 261.1);
Tailwind
colors: {
  custom: {
    50: '#717ebd',
    500: '#204ea1',
    950: '#000000',
  },
}
SCSS
$custom: #204ea1;
$custom-light: #717ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#204ea1",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 218.605,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.144,
    "h": 261.1
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#204EA1
secondary
#C39E5A
accent
#AD3EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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