#203A99#203A99

#203A99 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.158 H 266.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#203A99
RGBrgb(32, 58, 153)
HSLhsl(227, 65%, 36%)
HSVhsv(227, 79%, 60%)
CMYKcmyk(79.1%, 62.1%, 0%, 40%)
CIE-LABlab(28.46, 26.15, -54.63)
CIE-LCHlch(28.46, 60.56, 295.58°)
OKLaboklab(39.33% -0.0086 -0.1579)
OKLCHoklch(39.33% 0.158 266.9)
XYZxyz(7.8565, 5.6322, 30.8039)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A99 #997F20
analogous
#207799 #203A99 #432099
triadic
#203A99 #99203A #3A9920
tetradic
#203A99 #992077 #997F20 #209943
square
#203A99 #992077 #997F20 #209943
split-complementary
#203A99 #994320 #779920
monochromatic
#0B1434 #152766 #203A99 #2B4DCC #5774DC

Accessibility & contrast

On white

9.87
#203A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#203A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A99
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A99#FFFFFF#000000##FFFFFF
##203A991.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #203a99;
/* rgb */ color: rgb(32, 58, 153);
/* oklch */ color: oklch(39.3% 0.158 266.9);
Tailwind
colors: {
  custom: {
    50: '#706fb8',
    500: '#203a99',
    950: '#000000',
  },
}
SCSS
$custom: #203a99;
$custom-light: #706fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#203a99",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 227.107,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.15817,
    "h": 266.9
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#203A99
secondary
#C0A955
accent
#C43FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203A99

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

Preview Lab → · Contrast checker → · Palette generator →

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