#203D8E#203D8E

#203D8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.139 H 265.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#203D8E
RGBrgb(32, 61, 142)
HSLhsl(224, 63%, 34%)
HSVhsv(224, 77%, 56%)
CMYKcmyk(77.5%, 57%, 0%, 44.3%)
CIE-LABlab(28.37, 19.77, -48.04)
CIE-LCHlch(28.37, 51.94, 292.37°)
OKLaboklab(38.97% -0.0111 -0.1385)
OKLCHoklch(38.97% 0.139 265.4)
XYZxyz(7.1452, 5.5968, 26.2897)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D8E #8E7120
analogous
#20748E #203D8E #3A208E
triadic
#203D8E #8E203D #3D8E20
tetradic
#203D8E #8E2074 #8E7120 #208E3A
square
#203D8E #8E2074 #8E7120 #208E3A
split-complementary
#203D8E #8E3A20 #748E20
monochromatic
#09122A #15285C #203D8E #2B52C0 #5174D8

Accessibility & contrast

On white

9.91
#203D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#203D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D8E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D8E#FFFFFF#000000##FFFFFF
##203D8E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #203d8e;
/* rgb */ color: rgb(32, 61, 142);
/* oklch */ color: oklch(39.0% 0.139 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d72b0',
    500: '#203d8e',
    950: '#000000',
  },
}
SCSS
$custom: #203d8e;
$custom-light: #6d72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#203d8e",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 224.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.13898,
    "h": 265.4
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#203D8E
secondary
#BB9E4F
accent
#BB42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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