#204097#204097

#204097 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.148 H 265.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#204097
RGBrgb(32, 64, 151)
HSLhsl(224, 65%, 36%)
HSVhsv(224, 79%, 59%)
CMYKcmyk(78.8%, 57.6%, 0%, 40.8%)
CIE-LABlab(29.93, 21.27, -51.02)
CIE-LCHlch(29.93, 55.28, 292.63°)
OKLaboklab(40.37% -0.0128 -0.1472)
OKLCHoklch(40.37% 0.148 265)
XYZxyz(8.0130, 6.2073, 30.0480)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204097 #977720
analogous
#207B97 #204097 #3C2097
triadic
#204097 #972040 #409720
tetradic
#204097 #97207B #977720 #20973C
square
#204097 #97207B #977720 #20973C
split-complementary
#204097 #973C20 #7B9720
monochromatic
#0B1532 #152B64 #204097 #2B55C9 #567ADB

Accessibility & contrast

On white

9.37
#204097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#204097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204097
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204097#FFFFFF#000000##FFFFFF
##2040971.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #204097;
/* rgb */ color: rgb(32, 64, 151);
/* oklch */ color: oklch(40.4% 0.148 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f74b6',
    500: '#204097',
    950: '#000000',
  },
}
SCSS
$custom: #204097;
$custom-light: #6f74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#204097",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 223.866,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.14781,
    "h": 265
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#204097
secondary
#BFA254
accent
#BB40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204097

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

Preview Lab → · Contrast checker → · Palette generator →

#204097 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva