#203989#203989

#203989 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.137 H 266.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#203989
RGBrgb(32, 57, 137)
HSLhsl(226, 62%, 33%)
HSVhsv(226, 77%, 54%)
CMYKcmyk(76.6%, 58.4%, 0%, 46.3%)
CIE-LABlab(26.84, 20.55, -47.42)
CIE-LCHlch(26.84, 51.69, 293.43°)
OKLaboklab(37.7% -0.0083 -0.1368)
OKLCHoklch(37.7% 0.137 266.5)
XYZxyz(6.5726, 5.0388, 24.2882)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203989 #897020
analogous
#206D89 #203989 #3B2089
triadic
#203989 #892039 #398920
tetradic
#203989 #89206D #897020 #20893B
square
#203989 #89206D #897020 #20893B
split-complementary
#203989 #893B20 #6D8920
monochromatic
#091026 #142457 #203989 #2C4EBB #4E6ED6

Accessibility & contrast

On white

10.46
#203989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#203989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203989
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203989#FFFFFF#000000##FFFFFF
##2039891.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #203989;
/* rgb */ color: rgb(32, 57, 137);
/* oklch */ color: oklch(37.7% 0.137 266.5);
Tailwind
colors: {
  custom: {
    50: '#6c6fac',
    500: '#203989',
    950: '#000000',
  },
}
SCSS
$custom: #203989;
$custom-light: #6c6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#203989",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 225.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.13705,
    "h": 266.5
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#203989
secondary
#B99F4C
accent
#BE43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203989

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

Preview Lab → · Contrast checker → · Palette generator →

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