#204A97#204A97

#204A97 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.135 H 261.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#204A97
RGBrgb(32, 74, 151)
HSLhsl(219, 65%, 36%)
HSVhsv(219, 79%, 59%)
CMYKcmyk(78.8%, 51%, 0%, 40.8%)
CIE-LABlab(32.78, 14.44, -46.40)
CIE-LCHlch(32.78, 48.59, 287.29°)
OKLaboklab(42.54% -0.0205 -0.1335)
OKLCHoklch(42.54% 0.135 261.3)
XYZxyz(8.6283, 7.4380, 30.2531)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A97 #976D20
analogous
#208597 #204A97 #322097
triadic
#204A97 #97204A #4A9720
tetradic
#204A97 #972085 #976D20 #209732
square
#204A97 #972085 #976D20 #209732
split-complementary
#204A97 #973220 #859720
monochromatic
#0B1932 #153164 #204A97 #2B63C9 #5685DB

Accessibility & contrast

On white

8.44
#204A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#204A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A97
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A97#FFFFFF#000000##FFFFFF
##204A971.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204a97;
/* rgb */ color: rgb(32, 74, 151);
/* oklch */ color: oklch(42.5% 0.135 261.3);
Tailwind
colors: {
  custom: {
    50: '#6e7bb6',
    500: '#204a97',
    950: '#000000',
  },
}
SCSS
$custom: #204a97;
$custom-light: #6e7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#204a97",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 218.824,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.13503,
    "h": 261.3
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#204A97
secondary
#BF9954
accent
#AD40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204A97

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

Preview Lab → · Contrast checker → · Palette generator →

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