#203D8F#203D8F

#203D8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.140 H 265.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#203D8F
RGBrgb(32, 61, 143)
HSLhsl(224, 63%, 34%)
HSVhsv(224, 78%, 56%)
CMYKcmyk(77.6%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.45, 20.16, -48.52)
CIE-LCHlch(28.45, 52.55, 292.56°)
OKLaboklab(39.06% -0.0111 -0.14)
OKLCHoklch(39.06% 0.14 265.5)
XYZxyz(7.2206, 5.6269, 26.6868)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D8F #8F7220
analogous
#20758F #203D8F #3A208F
triadic
#203D8F #8F203D #3D8F20
tetradic
#203D8F #8F2075 #8F7220 #208F3A
square
#203D8F #8F2075 #8F7220 #208F3A
split-complementary
#203D8F #8F3A20 #758F20
monochromatic
#0A122B #15285D #203D8F #2B52C1 #5175D8

Accessibility & contrast

On white

9.88
#203D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#203D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D8F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D8F#FFFFFF#000000##FFFFFF
##203D8F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #203d8f;
/* rgb */ color: rgb(32, 61, 143);
/* oklch */ color: oklch(39.1% 0.140 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d72b0',
    500: '#203d8f',
    950: '#000000',
  },
}
SCSS
$custom: #203d8f;
$custom-light: #6d72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#203d8f",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 224.324,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39057,
    "c": 0.1404,
    "h": 265.5
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#203D8F
secondary
#BB9F4F
accent
#BB41E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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