#203C9D#203C9D

#203C9D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.161 H 266.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#203C9D
RGBrgb(32, 60, 157)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 80%, 62%)
CMYKcmyk(79.6%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.34, 26.34, -55.63)
CIE-LCHlch(29.34, 61.55, 295.34°)
OKLaboklab(40.09% -0.0099 -0.1608)
OKLCHoklch(40.09% 0.161 266.5)
XYZxyz(8.2952, 5.9722, 32.6073)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C9D #9D8120
analogous
#207B9D #203C9D #43209D
triadic
#203C9D #9D203C #3C9D20
tetradic
#203C9D #9D207B #9D8120 #209D43
square
#203C9D #9D207B #9D8120 #209D43
split-complementary
#203C9D #9D4320 #7B9D20
monochromatic
#0B1537 #16296A #203C9D #2A4FD0 #5A77DD

Accessibility & contrast

On white

9.57
#203C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#203C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C9D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C9D#FFFFFF#000000##FFFFFF
##203C9D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203c9d;
/* rgb */ color: rgb(32, 60, 157);
/* oklch */ color: oklch(40.1% 0.161 266.5);
Tailwind
colors: {
  custom: {
    50: '#7171bb',
    500: '#203c9d',
    950: '#000000',
  },
}
SCSS
$custom: #203c9d;
$custom-light: #7171bb;
$custom-dark: #000000;
JSON
{
  "hex": "#203c9d",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 226.56,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40087,
    "c": 0.16115,
    "h": 266.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#203C9D
secondary
#C1AA57
accent
#C33FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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