#204197#204197

#204197 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.147 H 264.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#204197
RGBrgb(32, 65, 151)
HSLhsl(223, 65%, 36%)
HSVhsv(223, 79%, 59%)
CMYKcmyk(78.8%, 57%, 0%, 40.8%)
CIE-LABlab(30.21, 20.58, -50.57)
CIE-LCHlch(30.21, 54.60, 292.15°)
OKLaboklab(40.58% -0.0135 -0.1459)
OKLCHoklch(40.58% 0.147 264.7)
XYZxyz(8.0699, 6.3211, 30.0669)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204197 #977620
analogous
#207C97 #204197 #3A2097
triadic
#204197 #972041 #419720
tetradic
#204197 #97207C #977620 #20973A
square
#204197 #97207C #977620 #20973A
split-complementary
#204197 #973A20 #7C9720
monochromatic
#0B1632 #152B64 #204197 #2B57C9 #567BDB

Accessibility & contrast

On white

9.27
#204197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#204197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204197
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204197#FFFFFF#000000##FFFFFF
##2041971.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204197;
/* rgb */ color: rgb(32, 65, 151);
/* oklch */ color: oklch(40.6% 0.147 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f75b6',
    500: '#204197',
    950: '#000000',
  },
}
SCSS
$custom: #204197;
$custom-light: #6f75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#204197",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 223.361,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.14653,
    "h": 264.7
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#204197
secondary
#BFA154
accent
#B940E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204197

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

Preview Lab → · Contrast checker → · Palette generator →

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