#204C99#204C99

#204C99 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.135 H 260.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#204C99
RGBrgb(32, 76, 153)
HSLhsl(218, 65%, 36%)
HSVhsv(218, 79%, 60%)
CMYKcmyk(79.1%, 50.3%, 0%, 40%)
CIE-LABlab(33.51, 13.88, -46.44)
CIE-LCHlch(33.51, 48.47, 286.64°)
OKLaboklab(43.14% -0.0219 -0.1335)
OKLCHoklch(43.14% 0.135 260.7)
XYZxyz(8.9278, 7.7748, 31.1610)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C99 #996D20
analogous
#208999 #204C99 #312099
triadic
#204C99 #99204C #4C9920
tetradic
#204C99 #992089 #996D20 #209931
square
#204C99 #992089 #996D20 #209931
split-complementary
#204C99 #993120 #899920
monochromatic
#0B1A34 #153366 #204C99 #2B65CC #5788DC

Accessibility & contrast

On white

8.22
#204C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#204C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C99
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C99#FFFFFF#000000##FFFFFF
##204C991.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204c99;
/* rgb */ color: rgb(32, 76, 153);
/* oklch */ color: oklch(43.1% 0.135 260.7);
Tailwind
colors: {
  custom: {
    50: '#6f7db8',
    500: '#204c99',
    950: '#000000',
  },
}
SCSS
$custom: #204c99;
$custom-light: #6f7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#204c99",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 218.182,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.13532,
    "h": 260.7
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#204C99
secondary
#C09955
accent
#AB3FE8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204C99

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

Preview Lab → · Contrast checker → · Palette generator →

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