#203999#203999

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

Color values

HEX#203999
RGBrgb(32, 57, 153)
HSLhsl(228, 65%, 36%)
HSVhsv(228, 79%, 60%)
CMYKcmyk(79.1%, 62.7%, 0%, 40%)
CIE-LABlab(28.20, 26.82, -55.06)
CIE-LCHlch(28.20, 61.25, 295.97°)
OKLaboklab(39.13% -0.008 -0.1592)
OKLCHoklch(39.13% 0.159 267.1)
XYZxyz(7.8066, 5.5324, 30.7872)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203999 #998020
analogous
#207699 #203999 #442099
triadic
#203999 #992039 #399920
tetradic
#203999 #992076 #998020 #209944
square
#203999 #992076 #998020 #209944
split-complementary
#203999 #994420 #769920
monochromatic
#0B1334 #152666 #203999 #2B4CCC #5773DC

Accessibility & contrast

On white

9.97
#203999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#203999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203999
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203999#FFFFFF#000000##FFFFFF
##2039991.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #203999;
/* rgb */ color: rgb(32, 57, 153);
/* oklch */ color: oklch(39.1% 0.159 267.1);
Tailwind
colors: {
  custom: {
    50: '#706fb8',
    500: '#203999',
    950: '#000000',
  },
}
SCSS
$custom: #203999;
$custom-light: #706fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#203999",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 153
  },
  "hsl": {
    "h": 227.603,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.15942,
    "h": 267.1
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#203999
secondary
#C0AA55
accent
#C53FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203999

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

Preview Lab → · Contrast checker → · Palette generator →

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