#204F97#204F97

#204F97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.129 H 258.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#204F97
RGBrgb(32, 79, 151)
HSLhsl(216, 65%, 36%)
HSVhsv(216, 79%, 59%)
CMYKcmyk(78.8%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.26, 11.06, -44.02)
CIE-LCHlch(34.26, 45.39, 284.11°)
OKLaboklab(43.67% -0.0247 -0.1264)
OKLCHoklch(43.67% 0.129 258.9)
XYZxyz(8.9755, 8.1324, 30.3688)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F97 #976820
analogous
#208A97 #204F97 #2D2097
triadic
#204F97 #97204F #4F9720
tetradic
#204F97 #97208A #976820 #20972D
square
#204F97 #97208A #976820 #20972D
split-complementary
#204F97 #972D20 #8A9720
monochromatic
#0B1A32 #153564 #204F97 #2B69C9 #568BDB

Accessibility & contrast

On white

8.00
#204F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#204F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F97
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F97#FFFFFF#000000##FFFFFF
##204F971.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#074B96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204f97;
/* rgb */ color: rgb(32, 79, 151);
/* oklch */ color: oklch(43.7% 0.129 258.9);
Tailwind
colors: {
  custom: {
    50: '#6e7fb6',
    500: '#204f97',
    950: '#000000',
  },
}
SCSS
$custom: #204f97;
$custom-light: #6e7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#204f97",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 216.303,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43666,
    "c": 0.12877,
    "h": 258.9
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#204F97
secondary
#BF9554
accent
#A640E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204F97

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

Preview Lab → · Contrast checker → · Palette generator →

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