#203D8D#203D8D

#203D8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.138 H 265.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#203D8D
RGBrgb(32, 61, 141)
HSLhsl(224, 63%, 34%)
HSVhsv(224, 77%, 55%)
CMYKcmyk(77.3%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.29, 19.37, -47.55)
CIE-LCHlch(28.29, 51.34, 292.16°)
OKLaboklab(38.89% -0.0112 -0.1371)
OKLCHoklch(38.89% 0.138 265.3)
XYZxyz(7.0704, 5.5669, 25.8960)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D8D #8D7020
analogous
#20748D #203D8D #3A208D
triadic
#203D8D #8D203D #3D8D20
tetradic
#203D8D #8D2074 #8D7020 #208D3A
square
#203D8D #8D2074 #8D7020 #208D3A
split-complementary
#203D8D #8D3A20 #748D20
monochromatic
#091229 #15275B #203D8D #2B53BF #5074D7

Accessibility & contrast

On white

9.94
#203D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#203D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D8D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D8D#FFFFFF#000000##FFFFFF
##203D8D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203d8d;
/* rgb */ color: rgb(32, 61, 141);
/* oklch */ color: oklch(38.9% 0.138 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d72af',
    500: '#203d8d',
    950: '#000000',
  },
}
SCSS
$custom: #203d8d;
$custom-light: #6d72af;
$custom-dark: #000000;
JSON
{
  "hex": "#203d8d",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 224.037,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.13755,
    "h": 265.3
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#203D8D
secondary
#BA9E4E
accent
#BA42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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