#203997#203997

#203997 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.157 H 267.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#203997
RGBrgb(32, 57, 151)
HSLhsl(227, 65%, 36%)
HSVhsv(227, 79%, 59%)
CMYKcmyk(78.8%, 62.3%, 0%, 40.8%)
CIE-LABlab(28.03, 26.05, -54.13)
CIE-LCHlch(28.03, 60.07, 295.70°)
OKLaboklab(38.95% -0.008 -0.1565)
OKLCHoklch(38.95% 0.157 267.1)
XYZxyz(7.6428, 5.4668, 29.9246)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203997 #977E20
analogous
#207497 #203997 #422097
triadic
#203997 #972039 #399720
tetradic
#203997 #972074 #977E20 #209742
square
#203997 #972074 #977E20 #209742
split-complementary
#203997 #974220 #749720
monochromatic
#0B1332 #152664 #203997 #2B4CC9 #5672DB

Accessibility & contrast

On white

10.03
#203997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#203997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203997
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203997#FFFFFF#000000##FFFFFF
##2039971.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203997;
/* rgb */ color: rgb(32, 57, 151);
/* oklch */ color: oklch(38.9% 0.157 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f6fb6',
    500: '#203997',
    950: '#000000',
  },
}
SCSS
$custom: #203997;
$custom-light: #6f6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#203997",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 227.395,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.15667,
    "h": 267.1
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#203997
secondary
#BFA854
accent
#C540E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203997

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

Preview Lab → · Contrast checker → · Palette generator →

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