#203C8E#203C8E

#203C8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.140 H 265.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#203C8E
RGBrgb(32, 60, 142)
HSLhsl(225, 63%, 34%)
HSVhsv(225, 77%, 56%)
CMYKcmyk(77.5%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.09, 20.46, -48.49)
CIE-LCHlch(28.09, 52.63, 292.87°)
OKLaboklab(38.76% -0.0103 -0.1399)
OKLCHoklch(38.76% 0.14 265.8)
XYZxyz(7.0923, 5.4910, 26.2720)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C8E #8E7220
analogous
#20738E #203C8E #3B208E
triadic
#203C8E #8E203C #3C8E20
tetradic
#203C8E #8E2073 #8E7220 #208E3B
square
#203C8E #8E2073 #8E7220 #208E3B
split-complementary
#203C8E #8E3B20 #738E20
monochromatic
#09122A #15275C #203C8E #2B51C0 #5173D8

Accessibility & contrast

On white

10.01
#203C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#203C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C8E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C8E#FFFFFF#000000##FFFFFF
##203C8E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203c8e;
/* rgb */ color: rgb(32, 60, 142);
/* oklch */ color: oklch(38.8% 0.140 265.8);
Tailwind
colors: {
  custom: {
    50: '#6d71b0',
    500: '#203c8e',
    950: '#000000',
  },
}
SCSS
$custom: #203c8e;
$custom-light: #6d71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#203c8e",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 224.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.14027,
    "h": 265.8
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#203C8E
secondary
#BB9F4F
accent
#BC42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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