#203D9F#203D9F

#203D9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.163 H 266.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#203D9F
RGBrgb(32, 61, 159)
HSLhsl(226, 66%, 37%)
HSVhsv(226, 80%, 62%)
CMYKcmyk(79.9%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.78, 26.45, -56.13)
CIE-LCHlch(29.78, 62.05, 295.23°)
OKLaboklab(40.47% -0.0105 -0.1623)
OKLCHoklch(40.47% 0.163 266.3)
XYZxyz(8.5202, 6.1468, 33.5316)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D9F #9F8220
analogous
#207D9F #203D9F #42209F
triadic
#203D9F #9F203D #3D9F20
tetradic
#203D9F #9F207D #9F8220 #209F42
square
#203D9F #9F207D #9F8220 #209F42
split-complementary
#203D9F #9F4220 #7D9F20
monochromatic
#0B1639 #16296C #203D9F #2A51D2 #5B79DE

Accessibility & contrast

On white

9.42
#203D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203D9F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D9F#FFFFFF#000000##FFFFFF
##203D9F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203d9f;
/* rgb */ color: rgb(32, 61, 159);
/* oklch */ color: oklch(40.5% 0.163 266.3);
Tailwind
colors: {
  custom: {
    50: '#7172bc',
    500: '#203d9f',
    950: '#000000',
  },
}
SCSS
$custom: #203d9f;
$custom-light: #7172bc;
$custom-dark: #000000;
JSON
{
  "hex": "#203d9f",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 226.299,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40466,
    "c": 0.16263,
    "h": 266.3
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#203D9F
secondary
#C2AA59
accent
#C23EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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