#203C9E#203C9E

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

Color values

HEX#203C9E
RGBrgb(32, 60, 158)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 80%, 62%)
CMYKcmyk(79.7%, 62%, 0%, 38%)
CIE-LABlab(29.43, 26.73, -56.10)
CIE-LCHlch(29.43, 62.14, 295.48°)
OKLaboklab(40.18% -0.0099 -0.1622)
OKLCHoklch(40.18% 0.163 266.5)
XYZxyz(8.3809, 6.0065, 33.0588)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C9E #9E8220
analogous
#207B9E #203C9E #43209E
triadic
#203C9E #9E203C #3C9E20
tetradic
#203C9E #9E207B #9E8220 #209E43
square
#203C9E #9E207B #9E8220 #209E43
split-complementary
#203C9E #9E4320 #7B9E20
monochromatic
#0B1538 #16296B #203C9E #2A4FD1 #5B78DE

Accessibility & contrast

On white

9.54
#203C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#203C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C9E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C9E#FFFFFF#000000##FFFFFF
##203C9E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203c9e;
/* rgb */ color: rgb(32, 60, 158);
/* oklch */ color: oklch(40.2% 0.163 266.5);
Tailwind
colors: {
  custom: {
    50: '#7171bc',
    500: '#203c9e',
    950: '#000000',
  },
}
SCSS
$custom: #203c9e;
$custom-light: #7171bc;
$custom-dark: #000000;
JSON
{
  "hex": "#203c9e",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 226.667,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.16251,
    "h": 266.5
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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