#204288#204288

#204288 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.124 H 262.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#204288
RGBrgb(32, 66, 136)
HSLhsl(220, 62%, 33%)
HSVhsv(220, 76%, 53%)
CMYKcmyk(76.5%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.36, 13.92, -42.73)
CIE-LCHlch(29.36, 44.93, 288.04°)
OKLaboklab(39.58% -0.0158 -0.1228)
OKLCHoklch(39.58% 0.124 262.6)
XYZxyz(6.9862, 5.9803, 24.0739)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204288 #886620
analogous
#207688 #204288 #322088
triadic
#204288 #882042 #428820
tetradic
#204288 #882076 #886620 #208832
square
#204288 #882076 #886620 #208832
split-complementary
#204288 #883220 #768820
monochromatic
#091225 #142A56 #204288 #2C5ABA #4D7AD5

Accessibility & contrast

On white

9.56
#204288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#204288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204288
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204288#FFFFFF#000000##FFFFFF
##2042881.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204288;
/* rgb */ color: rgb(32, 66, 136);
/* oklch */ color: oklch(39.6% 0.124 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b75ab',
    500: '#204288',
    950: '#000000',
  },
}
SCSS
$custom: #204288;
$custom-light: #6b75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#204288",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 220.385,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3958,
    "c": 0.12383,
    "h": 262.6
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#204288
secondary
#B8954C
accent
#B043E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #204288

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

Preview Lab → · Contrast checker → · Palette generator →

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