#204D99#204D99

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

Color values

HEX#204D99
RGBrgb(32, 77, 153)
HSLhsl(218, 65%, 36%)
HSVhsv(218, 79%, 60%)
CMYKcmyk(79.1%, 49.7%, 0%, 40%)
CIE-LABlab(33.80, 13.21, -45.97)
CIE-LCHlch(33.80, 47.83, 286.03°)
OKLaboklab(43.36% -0.0227 -0.1321)
OKLCHoklch(43.36% 0.134 260.3)
XYZxyz(8.9972, 7.9137, 31.1841)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D99 #996C20
analogous
#208A99 #204D99 #302099
triadic
#204D99 #99204D #4D9920
tetradic
#204D99 #99208A #996C20 #209930
square
#204D99 #99208A #996C20 #209930
split-complementary
#204D99 #993020 #8A9920
monochromatic
#0B1A34 #153466 #204D99 #2B66CC #5789DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##204D99#FFFFFF#000000##FFFFFF
##204D991.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)
#21559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204d99;
/* rgb */ color: rgb(32, 77, 153);
/* oklch */ color: oklch(43.4% 0.134 260.3);
Tailwind
colors: {
  custom: {
    50: '#6f7eb8',
    500: '#204d99',
    950: '#000000',
  },
}
SCSS
$custom: #204d99;
$custom-light: #6f7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#204d99",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 217.686,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43361,
    "c": 0.13406,
    "h": 260.3
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#204D99
secondary
#C09855
accent
#AA3FE8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204D99

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

Preview Lab → · Contrast checker → · Palette generator →

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