#204D9D#204D9D

#204D9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.140 H 260.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#204D9D
RGBrgb(32, 77, 157)
HSLhsl(218, 66%, 37%)
HSVhsv(218, 80%, 62%)
CMYKcmyk(79.6%, 51%, 0%, 38.4%)
CIE-LABlab(34.08, 14.80, -47.93)
CIE-LCHlch(34.08, 50.16, 287.16°)
OKLaboklab(43.67% -0.0221 -0.1379)
OKLCHoklch(43.67% 0.14 260.9)
XYZxyz(9.3331, 8.0481, 32.9533)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D9D #9D7020
analogous
#208C9D #204D9D #31209D
triadic
#204D9D #9D204D #4D9D20
tetradic
#204D9D #9D208C #9D7020 #209D31
square
#204D9D #9D208C #9D7020 #209D31
split-complementary
#204D9D #9D3120 #8C9D20
monochromatic
#0B1B37 #16346A #204D9D #2A66D0 #5A89DD

Accessibility & contrast

On white

8.05
#204D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#204D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D9D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D9D#FFFFFF#000000##FFFFFF
##204D9D1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204d9d;
/* rgb */ color: rgb(32, 77, 157);
/* oklch */ color: oklch(43.7% 0.140 260.9);
Tailwind
colors: {
  custom: {
    50: '#707eba',
    500: '#204d9d',
    950: '#000000',
  },
}
SCSS
$custom: #204d9d;
$custom-light: #707eba;
$custom-dark: #000000;
JSON
{
  "hex": "#204d9d",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 218.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43665,
    "c": 0.13967,
    "h": 260.9
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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