#204987#204987

#204987 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.113 H 258.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#204987
RGBrgb(32, 73, 135)
HSLhsl(216, 62%, 33%)
HSVhsv(216, 76%, 53%)
CMYKcmyk(76.3%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.39, 8.73, -38.84)
CIE-LCHlch(31.39, 39.81, 282.67°)
OKLaboklab(41.12% -0.0223 -0.1112)
OKLCHoklch(41.12% 0.113 258.6)
XYZxyz(7.3498, 6.8206, 23.8461)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204987 #875E20
analogous
#207C87 #204987 #2B2087
triadic
#204987 #872049 #498720
tetradic
#204987 #87207C #875E20 #20872B
square
#204987 #87207C #875E20 #20872B
split-complementary
#204987 #872B20 #7C8720
monochromatic
#091324 #142E56 #204987 #2C64B8 #4D83D5

Accessibility & contrast

On white

8.88
#204987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#204987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204987
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204987#FFFFFF#000000##FFFFFF
##2049871.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#154586
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #204987;
/* rgb */ color: rgb(32, 73, 135);
/* oklch */ color: oklch(41.1% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#6b7baa',
    500: '#204987',
    950: '#000000',
  },
}
SCSS
$custom: #204987;
$custom-light: #6b7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#204987",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 216.117,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41119,
    "c": 0.11346,
    "h": 258.6
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#204987
secondary
#B88C4B
accent
#A443E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204987

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

Preview Lab → · Contrast checker → · Palette generator →

#204987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva