#203C9F#203C9F

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

Color values

HEX#203C9F
RGBrgb(32, 60, 159)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 80%, 62%)
CMYKcmyk(79.9%, 62.3%, 0%, 37.6%)
CIE-LABlab(29.52, 27.12, -56.56)
CIE-LCHlch(29.52, 62.73, 295.62°)
OKLaboklab(40.27% -0.0099 -0.1636)
OKLCHoklch(40.27% 0.164 266.5)
XYZxyz(8.4673, 6.0410, 33.5139)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C9F #9F8320
analogous
#207B9F #203C9F #44209F
triadic
#203C9F #9F203C #3C9F20
tetradic
#203C9F #9F207B #9F8320 #209F44
square
#203C9F #9F207B #9F8320 #209F44
split-complementary
#203C9F #9F4420 #7B9F20
monochromatic
#0B1639 #16296C #203C9F #2A4FD2 #5B78DE

Accessibility & contrast

On white

9.51
#203C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#203C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C9F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C9F#FFFFFF#000000##FFFFFF
##203C9F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203c9f;
/* rgb */ color: rgb(32, 60, 159);
/* oklch */ color: oklch(40.3% 0.164 266.5);
Tailwind
colors: {
  custom: {
    50: '#7171bc',
    500: '#203c9f',
    950: '#000000',
  },
}
SCSS
$custom: #203c9f;
$custom-light: #7171bc;
$custom-dark: #000000;
JSON
{
  "hex": "#203c9f",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 226.772,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.16387,
    "h": 266.5
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#203C9F
secondary
#C2AB59
accent
#C43EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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