#204D91#204D91

#204D91 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.8% C 0.123 H 258.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#204D91
RGBrgb(32, 77, 145)
HSLhsl(216, 64%, 35%)
HSVhsv(216, 78%, 57%)
CMYKcmyk(77.9%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.26, 10.02, -41.98)
CIE-LCHlch(33.26, 43.16, 283.42°)
OKLaboklab(42.77% -0.024 -0.1204)
OKLCHoklch(42.77% 0.123 258.7)
XYZxyz(8.3585, 7.6582, 27.8202)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D91 #916420
analogous
#208691 #204D91 #2B2091
triadic
#204D91 #91204D #4D9120
tetradic
#204D91 #912086 #916420 #20912B
square
#204D91 #912086 #916420 #20912B
split-complementary
#204D91 #912B20 #869120
monochromatic
#0A182D #15325F #204D91 #2B68C3 #5288D9

Accessibility & contrast

On white

8.29
#204D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#204D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D91
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D91#FFFFFF#000000##FFFFFF
##204D911.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#0F4990
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204d91;
/* rgb */ color: rgb(32, 77, 145);
/* oklch */ color: oklch(42.8% 0.123 258.7);
Tailwind
colors: {
  custom: {
    50: '#6d7eb2',
    500: '#204d91',
    950: '#000000',
  },
}
SCSS
$custom: #204d91;
$custom-light: #6d7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#204d91",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 216.106,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.12278,
    "h": 258.7
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#204D91
secondary
#BC9151
accent
#A541E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204D91

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

Preview Lab → · Contrast checker → · Palette generator →

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