#204C9C#204C9C

#204C9C is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.140 H 261.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#204C9C
RGBrgb(32, 76, 156)
HSLhsl(219, 66%, 37%)
HSVhsv(219, 79%, 61%)
CMYKcmyk(79.5%, 51.3%, 0%, 38.8%)
CIE-LABlab(33.72, 15.08, -47.91)
CIE-LCHlch(33.72, 50.23, 287.47°)
OKLaboklab(43.37% -0.0214 -0.1379)
OKLCHoklch(43.37% 0.14 261.2)
XYZxyz(9.1787, 7.8752, 32.4824)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C9C #9C7020
analogous
#208A9C #204C9C #32209C
triadic
#204C9C #9C204C #4C9C20
tetradic
#204C9C #9C208A #9C7020 #209C32
square
#204C9C #9C208A #9C7020 #209C32
split-complementary
#204C9C #9C3220 #8A9C20
monochromatic
#0B1B36 #163369 #204C9C #2A65CF #5988DD

Accessibility & contrast

On white

8.15
#204C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#204C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C9C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C9C#FFFFFF#000000##FFFFFF
##204C9C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204c9c;
/* rgb */ color: rgb(32, 76, 156);
/* oklch */ color: oklch(43.4% 0.140 261.2);
Tailwind
colors: {
  custom: {
    50: '#6f7dba',
    500: '#204c9c',
    950: '#000000',
  },
}
SCSS
$custom: #204c9c;
$custom-light: #6f7dba;
$custom-dark: #000000;
JSON
{
  "hex": "#204c9c",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 156
  },
  "hsl": {
    "h": 218.71,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.13953,
    "h": 261.2
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#204C9C
secondary
#C19B57
accent
#AD3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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