#204F96#204F96

#204F96 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.127 H 258.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#204F96
RGBrgb(32, 79, 150)
HSLhsl(216, 65%, 36%)
HSVhsv(216, 79%, 59%)
CMYKcmyk(78.7%, 47.3%, 0%, 41.2%)
CIE-LABlab(34.19, 10.67, -43.52)
CIE-LCHlch(34.19, 44.81, 283.77°)
OKLaboklab(43.59% -0.0249 -0.1249)
OKLCHoklch(43.59% 0.127 258.7)
XYZxyz(8.8947, 8.1000, 29.9429)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F96 #966720
analogous
#208A96 #204F96 #2C2096
triadic
#204F96 #96204F #4F9620
tetradic
#204F96 #96208A #966720 #20962C
square
#204F96 #96208A #966720 #20962C
split-complementary
#204F96 #962C20 #8A9620
monochromatic
#0A1A31 #153464 #204F96 #2B6AC8 #568BDB

Accessibility & contrast

On white

8.01
#204F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#204F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F96
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F96#FFFFFF#000000##FFFFFF
##204F961.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#0A4B95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204f96;
/* rgb */ color: rgb(32, 79, 150);
/* oklch */ color: oklch(43.6% 0.127 258.7);
Tailwind
colors: {
  custom: {
    50: '#6e7fb5',
    500: '#204f96',
    950: '#000000',
  },
}
SCSS
$custom: #204f96;
$custom-light: #6e7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#204f96",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 216.102,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.12736,
    "h": 258.7
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#204F96
secondary
#BE9453
accent
#A540E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204F96

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

Preview Lab → · Contrast checker → · Palette generator →

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