#204A87#204A87

#204A87 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.112 H 258.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#204A87
RGBrgb(32, 74, 135)
HSLhsl(216, 62%, 33%)
HSVhsv(216, 76%, 53%)
CMYKcmyk(76.3%, 45.2%, 0%, 47.1%)
CIE-LABlab(31.70, 8.05, -38.35)
CIE-LCHlch(31.70, 39.19, 281.86°)
OKLaboklab(41.36% -0.0233 -0.1098)
OKLCHoklch(41.36% 0.112 258)
XYZxyz(7.4160, 6.9531, 23.8682)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A87 #875D20
analogous
#207D87 #204A87 #292087
triadic
#204A87 #87204A #4A8720
tetradic
#204A87 #87207D #875D20 #208729
square
#204A87 #87207D #875D20 #208729
split-complementary
#204A87 #872920 #7D8720
monochromatic
#091424 #142F56 #204A87 #2C65B8 #4D84D5

Accessibility & contrast

On white

8.78
#204A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#204A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A87
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A87#FFFFFF#000000##FFFFFF
##204A871.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5089
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204a87;
/* rgb */ color: rgb(32, 74, 135);
/* oklch */ color: oklch(41.4% 0.112 258.0);
Tailwind
colors: {
  custom: {
    50: '#6b7caa',
    500: '#204a87',
    950: '#000000',
  },
}
SCSS
$custom: #204a87;
$custom-light: #6b7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#204a87",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 215.534,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.11223,
    "h": 258
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#204A87
secondary
#B88B4B
accent
#A343E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204A87

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

Preview Lab → · Contrast checker → · Palette generator →

#204A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva