#204187#204187

#204187 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.124 H 263.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#204187
RGBrgb(32, 65, 135)
HSLhsl(221, 62%, 33%)
HSVhsv(221, 76%, 53%)
CMYKcmyk(76.3%, 51.9%, 0%, 47.1%)
CIE-LABlab(29.00, 14.21, -42.70)
CIE-LCHlch(29.00, 45.00, 288.40°)
OKLaboklab(39.28% -0.0151 -0.1228)
OKLCHoklch(39.28% 0.124 263)
XYZxyz(6.8576, 5.8362, 23.6821)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204187 #876620
analogous
#207487 #204187 #332087
triadic
#204187 #872041 #418720
tetradic
#204187 #872074 #876620 #208733
square
#204187 #872074 #876620 #208733
split-complementary
#204187 #873320 #748720
monochromatic
#091124 #142956 #204187 #2C59B8 #4D78D5

Accessibility & contrast

On white

9.69
#204187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204187
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204187#FFFFFF#000000##FFFFFF
##2041871.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204187;
/* rgb */ color: rgb(32, 65, 135);
/* oklch */ color: oklch(39.3% 0.124 263.0);
Tailwind
colors: {
  custom: {
    50: '#6b75aa',
    500: '#204187',
    950: '#000000',
  },
}
SCSS
$custom: #204187;
$custom-light: #6b75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#204187",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 220.777,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.12369,
    "h": 263
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#204187
secondary
#B8954B
accent
#B143E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #204187

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

Preview Lab → · Contrast checker → · Palette generator →

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