#204287#204287

#204287 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.122 H 262.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#204287
RGBrgb(32, 66, 135)
HSLhsl(220, 62%, 33%)
HSVhsv(220, 76%, 53%)
CMYKcmyk(76.3%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.29, 13.52, -42.22)
CIE-LCHlch(29.29, 44.33, 287.75°)
OKLaboklab(39.5% -0.016 -0.1213)
OKLCHoklch(39.5% 0.122 262.5)
XYZxyz(6.9155, 5.9520, 23.7014)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204287 #876520
analogous
#207687 #204287 #312087
triadic
#204287 #872042 #428720
tetradic
#204287 #872076 #876520 #208731
square
#204287 #872076 #876520 #208731
split-complementary
#204287 #873120 #768720
monochromatic
#091224 #142A56 #204287 #2C5AB8 #4D7AD5

Accessibility & contrast

On white

9.59
#204287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#204287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204287
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204287#FFFFFF#000000##FFFFFF
##2042871.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204287;
/* rgb */ color: rgb(32, 66, 135);
/* oklch */ color: oklch(39.5% 0.122 262.5);
Tailwind
colors: {
  custom: {
    50: '#6b75aa',
    500: '#204287',
    950: '#000000',
  },
}
SCSS
$custom: #204287;
$custom-light: #6b75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#204287",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 220.194,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39503,
    "c": 0.12238,
    "h": 262.5
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#204287
secondary
#B8944B
accent
#AF43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #204287

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

Preview Lab → · Contrast checker → · Palette generator →

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