#203C8D#203C8D

#203C8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.139 H 265.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#203C8D
RGBrgb(32, 60, 141)
HSLhsl(225, 63%, 34%)
HSVhsv(225, 77%, 55%)
CMYKcmyk(77.3%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.01, 20.06, -48.01)
CIE-LCHlch(28.01, 52.03, 292.68°)
OKLaboklab(38.67% -0.0104 -0.1385)
OKLCHoklch(38.67% 0.139 265.7)
XYZxyz(7.0176, 5.4611, 25.8784)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C8D #8D7120
analogous
#20738D #203C8D #3B208D
triadic
#203C8D #8D203C #3C8D20
tetradic
#203C8D #8D2073 #8D7120 #208D3B
square
#203C8D #8D2073 #8D7120 #208D3B
split-complementary
#203C8D #8D3B20 #738D20
monochromatic
#091229 #15275B #203C8D #2B51BF #5073D7

Accessibility & contrast

On white

10.04
#203C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#203C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C8D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C8D#FFFFFF#000000##FFFFFF
##203C8D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203c8d;
/* rgb */ color: rgb(32, 60, 141);
/* oklch */ color: oklch(38.7% 0.139 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d71af',
    500: '#203c8d',
    950: '#000000',
  },
}
SCSS
$custom: #203c8d;
$custom-light: #6d71af;
$custom-dark: #000000;
JSON
{
  "hex": "#203c8d",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 224.587,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38675,
    "c": 0.13885,
    "h": 265.7
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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