#204887#204887

#204887 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.115 H 259.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#204887
RGBrgb(32, 72, 135)
HSLhsl(217, 62%, 33%)
HSVhsv(217, 76%, 53%)
CMYKcmyk(76.3%, 46.7%, 0%, 47.1%)
CIE-LABlab(31.09, 9.41, -39.33)
CIE-LCHlch(31.09, 40.44, 283.45°)
OKLaboklab(40.89% -0.0214 -0.1127)
OKLCHoklch(40.89% 0.115 259.2)
XYZxyz(7.2846, 6.6903, 23.8244)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204887 #875F20
analogous
#207B87 #204887 #2B2087
triadic
#204887 #872048 #488720
tetradic
#204887 #87207B #875F20 #20872B
square
#204887 #87207B #875F20 #20872B
split-complementary
#204887 #872B20 #7B8720
monochromatic
#091324 #142E56 #204887 #2C62B8 #4D82D5

Accessibility & contrast

On white

8.98
#204887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#204887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204887
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204887#FFFFFF#000000##FFFFFF
##2048871.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #204887;
/* rgb */ color: rgb(32, 72, 135);
/* oklch */ color: oklch(40.9% 0.115 259.2);
Tailwind
colors: {
  custom: {
    50: '#6b7aaa',
    500: '#204887',
    950: '#000000',
  },
}
SCSS
$custom: #204887;
$custom-light: #6b7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#204887",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 216.699,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.11472,
    "h": 259.2
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#204887
secondary
#B88E4B
accent
#A643E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204887

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

Preview Lab → · Contrast checker → · Palette generator →

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