#203A9A#203A9A

#203A9A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.160 H 266.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#203A9A
RGBrgb(32, 58, 154)
HSLhsl(227, 66%, 36%)
HSVhsv(227, 79%, 60%)
CMYKcmyk(79.2%, 62.3%, 0%, 39.6%)
CIE-LABlab(28.55, 26.53, -55.10)
CIE-LCHlch(28.55, 61.15, 295.71°)
OKLaboklab(39.42% -0.0086 -0.1593)
OKLCHoklch(39.42% 0.16 266.9)
XYZxyz(7.9394, 5.6654, 31.2407)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A9A #9A8020
analogous
#20779A #203A9A #43209A
triadic
#203A9A #9A203A #3A9A20
tetradic
#203A9A #9A2077 #9A8020 #209A43
square
#203A9A #9A2077 #9A8020 #209A43
split-complementary
#203A9A #9A4320 #779A20
monochromatic
#0B1435 #152767 #203A9A #2B4DCD #5874DC

Accessibility & contrast

On white

9.84
#203A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203A9A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A9A#FFFFFF#000000##FFFFFF
##203A9A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #203a9a;
/* rgb */ color: rgb(32, 58, 154);
/* oklch */ color: oklch(39.4% 0.160 266.9);
Tailwind
colors: {
  custom: {
    50: '#706fb9',
    500: '#203a9a',
    950: '#000000',
  },
}
SCSS
$custom: #203a9a;
$custom-light: #706fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#203a9a",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 227.213,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.15954,
    "h": 266.9
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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