#204EA7#204EA7

#204EA7 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.152 H 261.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#204EA7
RGBrgb(32, 78, 167)
HSLhsl(220, 68%, 39%)
HSVhsv(220, 81%, 65%)
CMYKcmyk(80.8%, 53.3%, 0%, 34.5%)
CIE-LABlab(35.09, 18.10, -52.30)
CIE-LCHlch(35.09, 55.34, 289.09°)
OKLaboklab(44.66% -0.0216 -0.1507)
OKLCHoklch(44.66% 0.152 261.8)
XYZxyz(10.2926, 8.5447, 37.6585)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204EA7 #A77920
analogous
#2092A7 #204EA7 #3620A7
triadic
#204EA7 #A7204E #4EA720
tetradic
#204EA7 #A72092 #A77920 #20A736
square
#204EA7 #A72092 #A77920 #20A736
split-complementary
#204EA7 #A73620 #92A720
monochromatic
#0C1E40 #163674 #204EA7 #2D67D7 #618CE1

Accessibility & contrast

On white

7.75
#204EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#204EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204EA7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204EA7#FFFFFF#000000##FFFFFF
##204EA71.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B59AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #204ea7;
/* rgb */ color: rgb(32, 78, 167);
/* oklch */ color: oklch(44.7% 0.152 261.8);
Tailwind
colors: {
  custom: {
    50: '#727ec2',
    500: '#204ea7',
    950: '#000000',
  },
}
SCSS
$custom: #204ea7;
$custom-light: #727ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#204ea7",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 219.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.1523,
    "h": 261.8
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#204EA7
secondary
#C5A25D
accent
#B03DEB
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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