#204C97#204C97

#204C97 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.133 H 260.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#204C97
RGBrgb(32, 76, 151)
HSLhsl(218, 65%, 36%)
HSVhsv(218, 79%, 59%)
CMYKcmyk(78.8%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.37, 13.09, -45.45)
CIE-LCHlch(33.37, 47.30, 286.06°)
OKLaboklab(42.99% -0.0222 -0.1306)
OKLCHoklch(42.99% 0.133 260.4)
XYZxyz(8.7640, 7.7093, 30.2983)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C97 #976B20
analogous
#208797 #204C97 #2F2097
triadic
#204C97 #97204C #4C9720
tetradic
#204C97 #972087 #976B20 #20972F
square
#204C97 #972087 #976B20 #20972F
split-complementary
#204C97 #972F20 #879720
monochromatic
#0B1932 #153364 #204C97 #2B65C9 #5687DB

Accessibility & contrast

On white

8.26
#204C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#204C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C97
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C97#FFFFFF#000000##FFFFFF
##204C971.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204c97;
/* rgb */ color: rgb(32, 76, 151);
/* oklch */ color: oklch(43.0% 0.133 260.4);
Tailwind
colors: {
  custom: {
    50: '#6e7db6',
    500: '#204c97',
    950: '#000000',
  },
}
SCSS
$custom: #204c97;
$custom-light: #6e7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#204c97",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 217.815,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.13251,
    "h": 260.4
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#204C97
secondary
#BF9754
accent
#AA40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204C97

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

Preview Lab → · Contrast checker → · Palette generator →

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