#203E9C#203E9C

#203E9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.157 H 265.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#203E9C
RGBrgb(32, 62, 156)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 79%, 61%)
CMYKcmyk(79.5%, 60.3%, 0%, 38.8%)
CIE-LABlab(29.79, 24.60, -54.29)
CIE-LCHlch(29.79, 59.60, 294.38°)
OKLaboklab(40.4% -0.0112 -0.1569)
OKLCHoklch(40.4% 0.157 265.9)
XYZxyz(8.3169, 6.1517, 32.1951)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203E9C #9C7E20
analogous
#207C9C #203E9C #40209C
triadic
#203E9C #9C203E #3E9C20
tetradic
#203E9C #9C207C #9C7E20 #209C40
square
#203E9C #9C207C #9C7E20 #209C40
split-complementary
#203E9C #9C4020 #7C9C20
monochromatic
#0B1636 #162A69 #203E9C #2A52CF #5979DD

Accessibility & contrast

On white

9.41
#203E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#203E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203E9C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203E9C#FFFFFF#000000##FFFFFF
##203E9C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203e9c;
/* rgb */ color: rgb(32, 62, 156);
/* oklch */ color: oklch(40.4% 0.157 265.9);
Tailwind
colors: {
  custom: {
    50: '#7072ba',
    500: '#203e9c',
    950: '#000000',
  },
}
SCSS
$custom: #203e9c;
$custom-light: #7072ba;
$custom-dark: #000000;
JSON
{
  "hex": "#203e9c",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 156
  },
  "hsl": {
    "h": 225.484,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.15728,
    "h": 265.9
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#203E9C
secondary
#C1A757
accent
#C03FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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