#204E97#204E97

#204E97 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.130 H 259.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#204E97
RGBrgb(32, 78, 151)
HSLhsl(217, 65%, 36%)
HSVhsv(217, 79%, 59%)
CMYKcmyk(78.8%, 48.3%, 0%, 40.8%)
CIE-LABlab(33.96, 11.74, -44.50)
CIE-LCHlch(33.96, 46.02, 284.77°)
OKLaboklab(43.44% -0.0238 -0.1278)
OKLCHoklch(43.44% 0.13 259.4)
XYZxyz(8.9039, 7.9892, 30.3450)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E97 #976920
analogous
#208997 #204E97 #2E2097
triadic
#204E97 #97204E #4E9720
tetradic
#204E97 #972089 #976920 #20972E
square
#204E97 #972089 #976920 #20972E
split-complementary
#204E97 #972E20 #899720
monochromatic
#0B1A32 #153464 #204E97 #2B68C9 #568ADB

Accessibility & contrast

On white

8.08
#204E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#204E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E97
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E97#FFFFFF#000000##FFFFFF
##204E971.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#014B96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204e97;
/* rgb */ color: rgb(32, 78, 151);
/* oklch */ color: oklch(43.4% 0.130 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7fb6',
    500: '#204e97',
    950: '#000000',
  },
}
SCSS
$custom: #204e97;
$custom-light: #6e7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#204e97",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 216.807,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.13001,
    "h": 259.4
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#204E97
secondary
#BF9654
accent
#A740E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204E97

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

Preview Lab → · Contrast checker → · Palette generator →

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