#203A9E#203A9E

#203A9E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.165 H 267.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#203A9E
RGBrgb(32, 58, 158)
HSLhsl(228, 66%, 37%)
HSVhsv(228, 80%, 62%)
CMYKcmyk(79.7%, 63.3%, 0%, 38%)
CIE-LABlab(28.90, 28.08, -56.95)
CIE-LCHlch(28.90, 63.50, 296.24°)
OKLaboklab(39.79% -0.0086 -0.1647)
OKLCHoklch(39.79% 0.165 267)
XYZxyz(8.2781, 5.8009, 33.0245)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A9E #9E8420
analogous
#20799E #203A9E #45209E
triadic
#203A9E #9E203A #3A9E20
tetradic
#203A9E #9E2079 #9E8420 #209E45
square
#203A9E #9E2079 #9E8420 #209E45
split-complementary
#203A9E #9E4520 #799E20
monochromatic
#0B1538 #16276B #203A9E #2A4DD1 #5B76DE

Accessibility & contrast

On white

9.72
#203A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#203A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A9E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A9E#FFFFFF#000000##FFFFFF
##203A9E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203a9e;
/* rgb */ color: rgb(32, 58, 158);
/* oklch */ color: oklch(39.8% 0.165 267.0);
Tailwind
colors: {
  custom: {
    50: '#716fbc',
    500: '#203a9e',
    950: '#000000',
  },
}
SCSS
$custom: #203a9e;
$custom-light: #716fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#203a9e",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 227.619,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.16498,
    "h": 267
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#203A9E
secondary
#C2AC58
accent
#C63FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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