#204F99#204F99

#204F99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.132 H 259.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#204F99
RGBrgb(32, 79, 153)
HSLhsl(217, 65%, 36%)
HSVhsv(217, 79%, 60%)
CMYKcmyk(79.1%, 48.4%, 0%, 40%)
CIE-LABlab(34.39, 11.86, -45.02)
CIE-LCHlch(34.39, 46.55, 284.76°)
OKLaboklab(43.81% -0.0243 -0.1293)
OKLCHoklch(43.81% 0.132 259.3)
XYZxyz(9.1393, 8.1979, 31.2315)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F99 #996A20
analogous
#208C99 #204F99 #2E2099
triadic
#204F99 #99204F #4F9920
tetradic
#204F99 #99208C #996A20 #20992E
square
#204F99 #99208C #996A20 #20992E
split-complementary
#204F99 #992E20 #8C9920
monochromatic
#0B1B34 #153566 #204F99 #2B69CC #578BDC

Accessibility & contrast

On white

7.96
#204F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#204F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F99
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F99#FFFFFF#000000##FFFFFF
##204F991.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204f99;
/* rgb */ color: rgb(32, 79, 153);
/* oklch */ color: oklch(43.8% 0.132 259.3);
Tailwind
colors: {
  custom: {
    50: '#6f7fb7',
    500: '#204f99',
    950: '#000000',
  },
}
SCSS
$custom: #204f99;
$custom-light: #6f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#204f99",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 216.694,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.13157,
    "h": 259.3
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#204F99
secondary
#C09655
accent
#A73FE8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204F99

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

Preview Lab → · Contrast checker → · Palette generator →

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