#204D97#204D97

#204D97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.131 H 259.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#204D97
RGBrgb(32, 77, 151)
HSLhsl(217, 65%, 36%)
HSVhsv(217, 79%, 59%)
CMYKcmyk(78.8%, 49%, 0%, 40.8%)
CIE-LABlab(33.66, 12.41, -44.98)
CIE-LCHlch(33.66, 46.66, 285.42°)
OKLaboklab(43.21% -0.023 -0.1292)
OKLCHoklch(43.21% 0.131 259.9)
XYZxyz(8.8334, 7.8482, 30.3215)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D97 #976A20
analogous
#208897 #204D97 #2E2097
triadic
#204D97 #97204D #4D9720
tetradic
#204D97 #972088 #976A20 #20972E
square
#204D97 #972088 #976A20 #20972E
split-complementary
#204D97 #972E20 #889720
monochromatic
#0B1932 #153364 #204D97 #2B67C9 #5688DB

Accessibility & contrast

On white

8.17
#204D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#204D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D97
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D97#FFFFFF#000000##FFFFFF
##204D971.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204d97;
/* rgb */ color: rgb(32, 77, 151);
/* oklch */ color: oklch(43.2% 0.131 259.9);
Tailwind
colors: {
  custom: {
    50: '#6e7eb6',
    500: '#204d97',
    950: '#000000',
  },
}
SCSS
$custom: #204d97;
$custom-light: #6e7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#204d97",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 217.311,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.13125,
    "h": 259.9
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#204D97
secondary
#BF9654
accent
#A840E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204D97

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

Preview Lab → · Contrast checker → · Palette generator →

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