#203B9D#203B9D

#203B9D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.162 H 266.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#203B9D
RGBrgb(32, 59, 157)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 80%, 62%)
CMYKcmyk(79.6%, 62.4%, 0%, 38.4%)
CIE-LABlab(29.08, 27.02, -56.06)
CIE-LCHlch(29.08, 62.24, 295.73°)
OKLaboklab(39.89% -0.0092 -0.1621)
OKLCHoklch(39.89% 0.162 266.7)
XYZxyz(8.2433, 5.8684, 32.5900)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203B9D #9D8220
analogous
#207A9D #203B9D #44209D
triadic
#203B9D #9D203B #3B9D20
tetradic
#203B9D #9D207A #9D8220 #209D44
square
#203B9D #9D207A #9D8220 #209D44
split-complementary
#203B9D #9D4420 #7A9D20
monochromatic
#0B1537 #16286A #203B9D #2A4ED0 #5A76DD

Accessibility & contrast

On white

9.66
#203B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#203B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203B9D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203B9D#FFFFFF#000000##FFFFFF
##203B9D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203b9d;
/* rgb */ color: rgb(32, 59, 157);
/* oklch */ color: oklch(39.9% 0.162 266.7);
Tailwind
colors: {
  custom: {
    50: '#7170bb',
    500: '#203b9d',
    950: '#000000',
  },
}
SCSS
$custom: #203b9d;
$custom-light: #7170bb;
$custom-dark: #000000;
JSON
{
  "hex": "#203b9d",
  "rgb": {
    "r": 32,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 227.04,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.16239,
    "h": 266.7
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#203B9D
secondary
#C1AB57
accent
#C43FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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