#204C9E#204C9E

#204C9E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.142 H 261.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#204C9E
RGBrgb(32, 76, 158)
HSLhsl(219, 66%, 37%)
HSVhsv(219, 80%, 62%)
CMYKcmyk(79.7%, 51.9%, 0%, 38%)
CIE-LABlab(33.86, 15.87, -48.88)
CIE-LCHlch(33.86, 51.40, 287.99°)
OKLaboklab(43.52% -0.0212 -0.1407)
OKLCHoklch(43.52% 0.142 261.4)
XYZxyz(9.3494, 7.9435, 33.3816)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C9E #9E7220
analogous
#208B9E #204C9E #33209E
triadic
#204C9E #9E204C #4C9E20
tetradic
#204C9E #9E208B #9E7220 #209E33
square
#204C9E #9E208B #9E7220 #209E33
split-complementary
#204C9E #9E3320 #8B9E20
monochromatic
#0B1B38 #16346B #204C9E #2A64D1 #5B88DE

Accessibility & contrast

On white

8.11
#204C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#204C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C9E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C9E#FFFFFF#000000##FFFFFF
##204C9E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204c9e;
/* rgb */ color: rgb(32, 76, 158);
/* oklch */ color: oklch(43.5% 0.142 261.4);
Tailwind
colors: {
  custom: {
    50: '#707dbb',
    500: '#204c9e',
    950: '#000000',
  },
}
SCSS
$custom: #204c9e;
$custom-light: #707dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#204c9e",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 158
  },
  "hsl": {
    "h": 219.048,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.14233,
    "h": 261.4
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#204C9E
secondary
#C29D58
accent
#AE3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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