#204D9C#204D9C

#204D9C is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.138 H 260.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#204D9C
RGBrgb(32, 77, 156)
HSLhsl(218, 66%, 37%)
HSVhsv(218, 79%, 61%)
CMYKcmyk(79.5%, 50.6%, 0%, 38.8%)
CIE-LABlab(34.01, 14.40, -47.44)
CIE-LCHlch(34.01, 49.58, 286.89°)
OKLaboklab(43.59% -0.0222 -0.1365)
OKLCHoklch(43.59% 0.138 260.7)
XYZxyz(9.2481, 8.0141, 32.5055)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D9C #9C6F20
analogous
#208B9C #204D9C #31209C
triadic
#204D9C #9C204D #4D9C20
tetradic
#204D9C #9C208B #9C6F20 #209C31
square
#204D9C #9C208B #9C6F20 #209C31
split-complementary
#204D9C #9C3120 #8B9C20
monochromatic
#0B1B36 #163469 #204D9C #2A66CF #5989DD

Accessibility & contrast

On white

8.07
#204D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#204D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D9C
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D9C#FFFFFF#000000##FFFFFF
##204D9C1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204d9c;
/* rgb */ color: rgb(32, 77, 156);
/* oklch */ color: oklch(43.6% 0.138 260.7);
Tailwind
colors: {
  custom: {
    50: '#6f7eba',
    500: '#204d9c',
    950: '#000000',
  },
}
SCSS
$custom: #204d9c;
$custom-light: #6f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#204d9c",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 218.226,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.13827,
    "h": 260.7
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#204D9C
secondary
#C19A57
accent
#AB3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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