#204397#204397

#204397 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.144 H 264.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#204397
RGBrgb(32, 67, 151)
HSLhsl(222, 65%, 36%)
HSVhsv(222, 79%, 59%)
CMYKcmyk(78.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(30.77, 19.21, -49.66)
CIE-LCHlch(30.77, 53.24, 291.15°)
OKLaboklab(41.01% -0.015 -0.1432)
OKLCHoklch(41.01% 0.144 264)
XYZxyz(8.1867, 6.5548, 30.1059)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204397 #977420
analogous
#207E97 #204397 #382097
triadic
#204397 #972043 #439720
tetradic
#204397 #97207E #977420 #209738
square
#204397 #97207E #977420 #209738
split-complementary
#204397 #973820 #7E9720
monochromatic
#0B1632 #152D64 #204397 #2B59C9 #567DDB

Accessibility & contrast

On white

9.09
#204397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#204397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204397
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204397#FFFFFF#000000##FFFFFF
##2043971.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204397;
/* rgb */ color: rgb(32, 67, 151);
/* oklch */ color: oklch(41.0% 0.144 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f76b6',
    500: '#204397',
    950: '#000000',
  },
}
SCSS
$custom: #204397;
$custom-light: #6f76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#204397",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 222.353,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.14397,
    "h": 264
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#204397
secondary
#BF9F54
accent
#B740E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204397

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

Preview Lab → · Contrast checker → · Palette generator →

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