#204387#204387

#204387 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.121 H 262.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#204387
RGBrgb(32, 67, 135)
HSLhsl(220, 62%, 33%)
HSVhsv(220, 76%, 53%)
CMYKcmyk(76.3%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.59, 12.83, -41.74)
CIE-LCHlch(29.59, 43.67, 287.08°)
OKLaboklab(39.73% -0.0169 -0.1199)
OKLCHoklch(39.73% 0.121 262)
XYZxyz(6.9744, 6.0699, 23.7210)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204387 #876420
analogous
#207687 #204387 #312087
triadic
#204387 #872043 #438720
tetradic
#204387 #872076 #876420 #208731
square
#204387 #872076 #876420 #208731
split-complementary
#204387 #873120 #768720
monochromatic
#091224 #142A56 #204387 #2C5CB8 #4D7BD5

Accessibility & contrast

On white

9.48
#204387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#204387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204387
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204387#FFFFFF#000000##FFFFFF
##2043871.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #204387;
/* rgb */ color: rgb(32, 67, 135);
/* oklch */ color: oklch(39.7% 0.121 262.0);
Tailwind
colors: {
  custom: {
    50: '#6b76aa',
    500: '#204387',
    950: '#000000',
  },
}
SCSS
$custom: #204387;
$custom-light: #6b76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#204387",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 219.612,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3973,
    "c": 0.12108,
    "h": 262
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#204387
secondary
#B8934B
accent
#AE43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #204387

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

Preview Lab → · Contrast checker → · Palette generator →

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