#204189#204189

#204189 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.127 H 263.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#204189
RGBrgb(32, 65, 137)
HSLhsl(221, 62%, 33%)
HSVhsv(221, 77%, 54%)
CMYKcmyk(76.6%, 52.6%, 0%, 46.3%)
CIE-LABlab(29.14, 15.01, -43.70)
CIE-LCHlch(29.14, 46.21, 288.95°)
OKLaboklab(39.43% -0.0148 -0.1257)
OKLCHoklch(39.43% 0.127 263.3)
XYZxyz(6.9997, 5.8930, 24.4306)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204189 #896820
analogous
#207589 #204189 #332089
triadic
#204189 #892041 #418920
tetradic
#204189 #892075 #896820 #208933
square
#204189 #892075 #896820 #208933
split-complementary
#204189 #893320 #758920
monochromatic
#091226 #142957 #204189 #2C59BB #4E78D6

Accessibility & contrast

On white

9.64
#204189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#204189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204189
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204189#FFFFFF#000000##FFFFFF
##2041891.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204189;
/* rgb */ color: rgb(32, 65, 137);
/* oklch */ color: oklch(39.4% 0.127 263.3);
Tailwind
colors: {
  custom: {
    50: '#6b75ac',
    500: '#204189',
    950: '#000000',
  },
}
SCSS
$custom: #204189;
$custom-light: #6b75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#204189",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 221.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.12658,
    "h": 263.3
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#204189
secondary
#B9974C
accent
#B243E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #204189

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

Preview Lab → · Contrast checker → · Palette generator →

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