#203B9E#203B9E

#203B9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.164 H 266.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#203B9E
RGBrgb(32, 59, 158)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 80%, 62%)
CMYKcmyk(79.7%, 62.7%, 0%, 38%)
CIE-LABlab(29.17, 27.41, -56.53)
CIE-LCHlch(29.17, 62.82, 295.87°)
OKLaboklab(39.98% -0.0092 -0.1635)
OKLCHoklch(39.98% 0.164 266.8)
XYZxyz(8.3290, 5.9027, 33.0415)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203B9E #9E8320
analogous
#207A9E #203B9E #44209E
triadic
#203B9E #9E203B #3B9E20
tetradic
#203B9E #9E207A #9E8320 #209E44
square
#203B9E #9E207A #9E8320 #209E44
split-complementary
#203B9E #9E4420 #7A9E20
monochromatic
#0B1538 #16286B #203B9E #2A4ED1 #5B77DE

Accessibility & contrast

On white

9.63
#203B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#203B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203B9E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203B9E#FFFFFF#000000##FFFFFF
##203B9E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203b9e;
/* rgb */ color: rgb(32, 59, 158);
/* oklch */ color: oklch(40.0% 0.164 266.8);
Tailwind
colors: {
  custom: {
    50: '#7170bc',
    500: '#203b9e',
    950: '#000000',
  },
}
SCSS
$custom: #203b9e;
$custom-light: #7170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#203b9e",
  "rgb": {
    "r": 32,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 227.143,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.16375,
    "h": 266.8
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#203B9E
secondary
#C2AB58
accent
#C53FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203B9E

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

Preview Lab → · Contrast checker → · Palette generator →

#203B9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva