#204C96#204C96

#204C96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.131 H 260.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#204C96
RGBrgb(32, 76, 150)
HSLhsl(218, 65%, 36%)
HSVhsv(218, 79%, 59%)
CMYKcmyk(78.7%, 49.3%, 0%, 41.2%)
CIE-LABlab(33.30, 12.69, -44.96)
CIE-LCHlch(33.30, 46.71, 285.76°)
OKLaboklab(42.91% -0.0223 -0.1292)
OKLCHoklch(42.91% 0.131 260.2)
XYZxyz(8.6831, 7.6770, 29.8724)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C96 #966A20
analogous
#208796 #204C96 #2F2096
triadic
#204C96 #96204C #4C9620
tetradic
#204C96 #962087 #966A20 #20962F
square
#204C96 #962087 #966A20 #20962F
split-complementary
#204C96 #962F20 #879620
monochromatic
#0A1931 #153264 #204C96 #2B66C8 #5687DB

Accessibility & contrast

On white

8.28
#204C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#204C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C96
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C96#FFFFFF#000000##FFFFFF
##204C961.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204c96;
/* rgb */ color: rgb(32, 76, 150);
/* oklch */ color: oklch(42.9% 0.131 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7db5',
    500: '#204c96',
    950: '#000000',
  },
}
SCSS
$custom: #204c96;
$custom-light: #6e7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#204c96",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 217.627,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.1311,
    "h": 260.2
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#204C96
secondary
#BE9753
accent
#A940E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204C96

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

Preview Lab → · Contrast checker → · Palette generator →

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