#204B97#204B97

#204B97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.134 H 260.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#204B97
RGBrgb(32, 75, 151)
HSLhsl(218, 65%, 36%)
HSVhsv(218, 79%, 59%)
CMYKcmyk(78.8%, 50.3%, 0%, 40.8%)
CIE-LABlab(33.08, 13.76, -45.92)
CIE-LCHlch(33.08, 47.94, 286.68°)
OKLaboklab(42.76% -0.0213 -0.132)
OKLCHoklch(42.76% 0.134 260.8)
XYZxyz(8.6956, 7.5726, 30.2755)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B97 #976C20
analogous
#208697 #204B97 #302097
triadic
#204B97 #97204B #4B9720
tetradic
#204B97 #972086 #976C20 #209730
square
#204B97 #972086 #976C20 #209730
split-complementary
#204B97 #973020 #869720
monochromatic
#0B1932 #153264 #204B97 #2B64C9 #5686DB

Accessibility & contrast

On white

8.35
#204B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#204B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B97
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B97#FFFFFF#000000##FFFFFF
##204B971.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204b97;
/* rgb */ color: rgb(32, 75, 151);
/* oklch */ color: oklch(42.8% 0.134 260.8);
Tailwind
colors: {
  custom: {
    50: '#6e7cb6',
    500: '#204b97',
    950: '#000000',
  },
}
SCSS
$custom: #204b97;
$custom-light: #6e7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#204b97",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 218.319,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.13376,
    "h": 260.8
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#204B97
secondary
#BF9854
accent
#AB40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204B97

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

Preview Lab → · Contrast checker → · Palette generator →

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