#203D7E#203D7E

#203D7E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.116 H 263.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#203D7E
RGBrgb(32, 61, 126)
HSLhsl(221, 59%, 31%)
HSVhsv(221, 75%, 49%)
CMYKcmyk(74.6%, 51.6%, 0%, 50.6%)
CIE-LABlab(27.16, 13.38, -40.05)
CIE-LCHlch(27.16, 42.23, 288.47°)
OKLaboklab(37.67% -0.0127 -0.115)
OKLCHoklch(37.67% 0.116 263.7)
XYZxyz(6.0290, 5.1503, 20.4110)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D7E #7E6120
analogous
#206C7E #203D7E #32207E
triadic
#203D7E #7E203D #3D7E20
tetradic
#203D7E #7E206C #7E6120 #207E32
square
#203D7E #7E206C #7E6120 #207E32
split-complementary
#203D7E #7E3220 #6C7E20
monochromatic
#070E1C #14254D #203D7E #2C55AF #4872D0

Accessibility & contrast

On white

10.34
#203D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#203D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D7E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D7E#FFFFFF#000000##FFFFFF
##203D7E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174580
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203d7e;
/* rgb */ color: rgb(32, 61, 126);
/* oklch */ color: oklch(37.7% 0.116 263.7);
Tailwind
colors: {
  custom: {
    50: '#6972a4',
    500: '#203d7e',
    950: '#000000',
  },
}
SCSS
$custom: #203d7e;
$custom-light: #6972a4;
$custom-dark: #000000;
JSON
{
  "hex": "#203d7e",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 221.489,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.11574,
    "h": 263.7
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#203D7E
secondary
#B19149
accent
#B245E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #203D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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