#204C9D#204C9D

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

Color values

HEX#204C9D
RGBrgb(32, 76, 157)
HSLhsl(219, 66%, 37%)
HSVhsv(219, 80%, 62%)
CMYKcmyk(79.6%, 51.6%, 0%, 38.4%)
CIE-LABlab(33.79, 15.48, -48.40)
CIE-LCHlch(33.79, 50.81, 287.73°)
OKLaboklab(43.44% -0.0213 -0.1393)
OKLCHoklch(43.44% 0.141 261.3)
XYZxyz(9.2637, 7.9092, 32.9301)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C9D #9D7120
analogous
#208B9D #204C9D #32209D
triadic
#204C9D #9D204C #4C9D20
tetradic
#204C9D #9D208B #9D7120 #209D32
square
#204C9D #9D208B #9D7120 #209D32
split-complementary
#204C9D #9D3220 #8B9D20
monochromatic
#0B1B37 #16336A #204C9D #2A65D0 #5A88DD

Accessibility & contrast

On white

8.13
#204C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204C9D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C9D#FFFFFF#000000##FFFFFF
##204C9D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1855A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204c9d;
/* rgb */ color: rgb(32, 76, 157);
/* oklch */ color: oklch(43.4% 0.141 261.3);
Tailwind
colors: {
  custom: {
    50: '#707dba',
    500: '#204c9d',
    950: '#000000',
  },
}
SCSS
$custom: #204c9d;
$custom-light: #707dba;
$custom-dark: #000000;
JSON
{
  "hex": "#204c9d",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 218.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.14093,
    "h": 261.3
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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