#204087#204087

#204087 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.125 H 263.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#204087
RGBrgb(32, 64, 135)
HSLhsl(221, 62%, 33%)
HSVhsv(221, 76%, 53%)
CMYKcmyk(76.3%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.70, 14.90, -43.17)
CIE-LCHlch(28.70, 45.67, 289.04°)
OKLaboklab(39.05% -0.0142 -0.1242)
OKLCHoklch(39.05% 0.125 263.5)
XYZxyz(6.8007, 5.7224, 23.6631)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204087 #876720
analogous
#207487 #204087 #332087
triadic
#204087 #872040 #408720
tetradic
#204087 #872074 #876720 #208733
square
#204087 #872074 #876720 #208733
split-complementary
#204087 #873320 #748720
monochromatic
#091124 #142956 #204087 #2C57B8 #4D77D5

Accessibility & contrast

On white

9.79
#204087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#204087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204087
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204087#FFFFFF#000000##FFFFFF
##2040871.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204087;
/* rgb */ color: rgb(32, 64, 135);
/* oklch */ color: oklch(39.1% 0.125 263.5);
Tailwind
colors: {
  custom: {
    50: '#6b74aa',
    500: '#204087',
    950: '#000000',
  },
}
SCSS
$custom: #204087;
$custom-light: #6b74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#204087",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 221.359,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.12498,
    "h": 263.5
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#204087
secondary
#B8964B
accent
#B343E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #204087

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

Preview Lab → · Contrast checker → · Palette generator →

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