#204EA5#204EA5

#204EA5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.150 H 261.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#204EA5
RGBrgb(32, 78, 165)
HSLhsl(219, 68%, 39%)
HSVhsv(219, 81%, 65%)
CMYKcmyk(80.6%, 52.7%, 0%, 35.3%)
CIE-LABlab(34.95, 17.30, -51.34)
CIE-LCHlch(34.95, 54.18, 288.63°)
OKLaboklab(44.51% -0.0219 -0.1479)
OKLCHoklch(44.51% 0.15 261.6)
XYZxyz(10.1091, 8.4713, 36.6923)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204EA5 #A57720
analogous
#2090A5 #204EA5 #3420A5
triadic
#204EA5 #A5204E #4EA520
tetradic
#204EA5 #A52090 #A57720 #20A534
square
#204EA5 #A52090 #A57720 #20A534
split-complementary
#204EA5 #A53420 #90A520
monochromatic
#0C1E3E #163672 #204EA5 #2C67D6 #5F8CE0

Accessibility & contrast

On white

7.79
#204EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#204EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204EA5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204EA5#FFFFFF#000000##FFFFFF
##204EA51.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #204ea5;
/* rgb */ color: rgb(32, 78, 165);
/* oklch */ color: oklch(44.5% 0.150 261.6);
Tailwind
colors: {
  custom: {
    50: '#727ec0',
    500: '#204ea5',
    950: '#000000',
  },
}
SCSS
$custom: #204ea5;
$custom-light: #727ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#204ea5",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 219.248,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.14954,
    "h": 261.6
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#204EA5
secondary
#C5A15C
accent
#AF3DEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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