#204F91#204F91

#204F91 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.2% C 0.120 H 257.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#204F91
RGBrgb(32, 79, 145)
HSLhsl(215, 64%, 35%)
HSVhsv(215, 78%, 57%)
CMYKcmyk(77.9%, 45.5%, 0%, 43.1%)
CIE-LABlab(33.86, 8.68, -41.01)
CIE-LCHlch(33.86, 41.92, 281.94°)
OKLaboklab(43.24% -0.0258 -0.1175)
OKLCHoklch(43.24% 0.12 257.6)
XYZxyz(8.5006, 7.9424, 27.8676)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F91 #916220
analogous
#208891 #204F91 #292091
triadic
#204F91 #91204F #4F9120
tetradic
#204F91 #912088 #916220 #209129
square
#204F91 #912088 #916220 #209129
split-complementary
#204F91 #912920 #889120
monochromatic
#0A182D #15345F #204F91 #2B6AC3 #528AD9

Accessibility & contrast

On white

8.11
#204F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#204F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F91
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F91#FFFFFF#000000##FFFFFF
##204F911.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#164B90
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204f91;
/* rgb */ color: rgb(32, 79, 145);
/* oklch */ color: oklch(43.2% 0.120 257.6);
Tailwind
colors: {
  custom: {
    50: '#6d7fb2',
    500: '#204f91',
    950: '#000000',
  },
}
SCSS
$custom: #204f91;
$custom-light: #6d7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#204f91",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 215.044,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43235,
    "c": 0.12032,
    "h": 257.6
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#204F91
secondary
#BC8F51
accent
#A241E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204F91

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

Preview Lab → · Contrast checker → · Palette generator →

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