#204089#204089

#204089 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.128 H 263.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#204089
RGBrgb(32, 64, 137)
HSLhsl(222, 62%, 33%)
HSVhsv(222, 77%, 54%)
CMYKcmyk(76.6%, 53.3%, 0%, 46.3%)
CIE-LABlab(28.85, 15.70, -44.17)
CIE-LCHlch(28.85, 46.88, 289.56°)
OKLaboklab(39.21% -0.014 -0.1271)
OKLCHoklch(39.21% 0.128 263.7)
XYZxyz(6.9428, 5.7792, 24.4117)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204089 #896920
analogous
#207489 #204089 #342089
triadic
#204089 #892040 #408920
tetradic
#204089 #892074 #896920 #208934
square
#204089 #892074 #896920 #208934
split-complementary
#204089 #893420 #748920
monochromatic
#091226 #142957 #204089 #2C57BB #4E77D6

Accessibility & contrast

On white

9.74
#204089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#204089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204089
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204089#FFFFFF#000000##FFFFFF
##2040891.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204089;
/* rgb */ color: rgb(32, 64, 137);
/* oklch */ color: oklch(39.2% 0.128 263.7);
Tailwind
colors: {
  custom: {
    50: '#6b74ac',
    500: '#204089',
    950: '#000000',
  },
}
SCSS
$custom: #204089;
$custom-light: #6b74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#204089",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 221.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.12789,
    "h": 263.7
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#204089
secondary
#B9984C
accent
#B443E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #204089

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

Preview Lab → · Contrast checker → · Palette generator →

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