#203B9A#203B9A

#203B9A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.158 H 266.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#203B9A
RGBrgb(32, 59, 154)
HSLhsl(227, 66%, 36%)
HSVhsv(227, 79%, 60%)
CMYKcmyk(79.2%, 61.7%, 0%, 39.6%)
CIE-LABlab(28.82, 25.86, -54.66)
CIE-LCHlch(28.82, 60.47, 295.31°)
OKLaboklab(39.62% -0.0093 -0.158)
OKLCHoklch(39.62% 0.158 266.6)
XYZxyz(7.9903, 5.7672, 31.2576)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203B9A #9A7F20
analogous
#20789A #203B9A #42209A
triadic
#203B9A #9A203B #3B9A20
tetradic
#203B9A #9A2078 #9A7F20 #209A42
square
#203B9A #9A2078 #9A7F20 #209A42
split-complementary
#203B9A #9A4220 #789A20
monochromatic
#0B1435 #152867 #203B9A #2B4ECD #5875DC

Accessibility & contrast

On white

9.75
#203B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#203B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203B9A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203B9A#FFFFFF#000000##FFFFFF
##203B9A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203b9a;
/* rgb */ color: rgb(32, 59, 154);
/* oklch */ color: oklch(39.6% 0.158 266.6);
Tailwind
colors: {
  custom: {
    50: '#7070b9',
    500: '#203b9a',
    950: '#000000',
  },
}
SCSS
$custom: #203b9a;
$custom-light: #7070b9;
$custom-dark: #000000;
JSON
{
  "hex": "#203b9a",
  "rgb": {
    "r": 32,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 226.721,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.15829,
    "h": 266.6
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#203B9A
secondary
#C0A956
accent
#C33FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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