#203996#203996

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

Color values

HEX#203996
RGBrgb(32, 57, 150)
HSLhsl(227, 65%, 36%)
HSVhsv(227, 79%, 59%)
CMYKcmyk(78.7%, 62%, 0%, 41.2%)
CIE-LABlab(27.94, 25.66, -53.66)
CIE-LCHlch(27.94, 59.48, 295.56°)
OKLaboklab(38.86% -0.008 -0.1551)
OKLCHoklch(38.86% 0.155 267.1)
XYZxyz(7.5619, 5.4345, 29.4987)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203996 #967D20
analogous
#207496 #203996 #422096
triadic
#203996 #962039 #399620
tetradic
#203996 #962074 #967D20 #209642
square
#203996 #962074 #967D20 #209642
split-complementary
#203996 #964220 #749620
monochromatic
#0A1331 #152664 #203996 #2B4CC8 #5672DB

Accessibility & contrast

On white

10.06
#203996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203996
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203996#FFFFFF#000000##FFFFFF
##2039961.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203996;
/* rgb */ color: rgb(32, 57, 150);
/* oklch */ color: oklch(38.9% 0.155 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f6fb6',
    500: '#203996',
    950: '#000000',
  },
}
SCSS
$custom: #203996;
$custom-light: #6f6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#203996",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 227.288,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.1553,
    "h": 267.1
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#203996
secondary
#BEA853
accent
#C440E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203996

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

Preview Lab → · Contrast checker → · Palette generator →

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