#204188#204188

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

Color values

HEX#204188
RGBrgb(32, 65, 136)
HSLhsl(221, 62%, 33%)
HSVhsv(221, 76%, 53%)
CMYKcmyk(76.5%, 52.2%, 0%, 46.7%)
CIE-LABlab(29.07, 14.61, -43.20)
CIE-LCHlch(29.07, 45.60, 288.68°)
OKLaboklab(39.36% -0.015 -0.1242)
OKLCHoklch(39.36% 0.125 263.1)
XYZxyz(6.9283, 5.8645, 24.0546)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204188 #886720
analogous
#207588 #204188 #332088
triadic
#204188 #882041 #418820
tetradic
#204188 #882075 #886720 #208833
square
#204188 #882075 #886720 #208833
split-complementary
#204188 #883320 #758820
monochromatic
#091225 #142956 #204188 #2C59BA #4D78D5

Accessibility & contrast

On white

9.66
#204188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#204188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204188
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204188#FFFFFF#000000##FFFFFF
##2041881.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204188;
/* rgb */ color: rgb(32, 65, 136);
/* oklch */ color: oklch(39.4% 0.125 263.1);
Tailwind
colors: {
  custom: {
    50: '#6b75ab',
    500: '#204188',
    950: '#000000',
  },
}
SCSS
$custom: #204188;
$custom-light: #6b75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#204188",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 220.962,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39355,
    "c": 0.12513,
    "h": 263.1
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204188

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

Preview Lab → · Contrast checker → · Palette generator →

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