#203D7F#203D7F

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

Color values

HEX#203D7F
RGBrgb(32, 61, 127)
HSLhsl(222, 60%, 31%)
HSVhsv(222, 75%, 50%)
CMYKcmyk(74.8%, 52%, 0%, 50.2%)
CIE-LABlab(27.23, 13.78, -40.56)
CIE-LCHlch(27.23, 42.84, 288.76°)
OKLaboklab(37.75% -0.0126 -0.1165)
OKLCHoklch(37.75% 0.117 263.8)
XYZxyz(6.0938, 5.1762, 20.7525)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D7F #7F6220
analogous
#206C7F #203D7F #32207F
triadic
#203D7F #7F203D #3D7F20
tetradic
#203D7F #7F206C #7F6220 #207F32
square
#203D7F #7F206C #7F6220 #207F32
split-complementary
#203D7F #7F3220 #6C7F20
monochromatic
#070E1D #14264E #203D7F #2C54B0 #4872D1

Accessibility & contrast

On white

10.32
#203D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#203D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D7F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D7F#FFFFFF#000000##FFFFFF
##203D7F1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203d7f;
/* rgb */ color: rgb(32, 61, 127);
/* oklch */ color: oklch(37.7% 0.117 263.8);
Tailwind
colors: {
  custom: {
    50: '#6972a5',
    500: '#203d7f',
    950: '#000000',
  },
}
SCSS
$custom: #203d7f;
$custom-light: #6972a5;
$custom-dark: #000000;
JSON
{
  "hex": "#203d7f",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 221.684,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.11722,
    "h": 263.8
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#203D7F
secondary
#B29249
accent
#B345E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #203D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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