#203C9A#203C9A

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

Color values

HEX#203C9A
RGBrgb(32, 60, 154)
HSLhsl(226, 66%, 36%)
HSVhsv(226, 79%, 60%)
CMYKcmyk(79.2%, 61%, 0%, 39.6%)
CIE-LABlab(29.08, 25.18, -54.23)
CIE-LCHlch(29.08, 59.79, 294.90°)
OKLaboklab(39.82% -0.0099 -0.1567)
OKLCHoklch(39.82% 0.157 266.4)
XYZxyz(8.0422, 5.8710, 31.2749)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C9A #9A7E20
analogous
#20799A #203C9A #41209A
triadic
#203C9A #9A203C #3C9A20
tetradic
#203C9A #9A2079 #9A7E20 #209A41
square
#203C9A #9A2079 #9A7E20 #209A41
split-complementary
#203C9A #9A4120 #799A20
monochromatic
#0B1535 #152867 #203C9A #2B50CD #5876DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##203C9A#FFFFFF#000000##FFFFFF
##203C9A1.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)
#004A9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203c9a;
/* rgb */ color: rgb(32, 60, 154);
/* oklch */ color: oklch(39.8% 0.157 266.4);
Tailwind
colors: {
  custom: {
    50: '#7071b9',
    500: '#203c9a',
    950: '#000000',
  },
}
SCSS
$custom: #203c9a;
$custom-light: #7071b9;
$custom-dark: #000000;
JSON
{
  "hex": "#203c9a",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 226.23,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.15704,
    "h": 266.4
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#203C9A
secondary
#C0A856
accent
#C23FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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