#203B9C#203B9C

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

Color values

HEX#203B9C
RGBrgb(32, 59, 156)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 79%, 61%)
CMYKcmyk(79.5%, 62.2%, 0%, 38.8%)
CIE-LABlab(28.99, 26.63, -55.60)
CIE-LCHlch(28.99, 61.65, 295.60°)
OKLaboklab(39.8% -0.0092 -0.1608)
OKLCHoklch(39.8% 0.161 266.7)
XYZxyz(8.1583, 5.8344, 32.1422)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203B9C #9C8120
analogous
#20799C #203B9C #43209C
triadic
#203B9C #9C203B #3B9C20
tetradic
#203B9C #9C2079 #9C8120 #209C43
square
#203B9C #9C2079 #9C8120 #209C43
split-complementary
#203B9C #9C4320 #799C20
monochromatic
#0B1536 #162869 #203B9C #2A4ECF #5976DD

Accessibility & contrast

On white

9.69
#203B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203B9C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203B9C#FFFFFF#000000##FFFFFF
##203B9C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203b9c;
/* rgb */ color: rgb(32, 59, 156);
/* oklch */ color: oklch(39.8% 0.161 266.7);
Tailwind
colors: {
  custom: {
    50: '#7170ba',
    500: '#203b9c',
    950: '#000000',
  },
}
SCSS
$custom: #203b9c;
$custom-light: #7170ba;
$custom-dark: #000000;
JSON
{
  "hex": "#203b9c",
  "rgb": {
    "r": 32,
    "g": 59,
    "b": 156
  },
  "hsl": {
    "h": 226.935,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.16103,
    "h": 266.7
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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