#203E7F#203E7F

#203E7F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.116 H 263.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#203E7F
RGBrgb(32, 62, 127)
HSLhsl(221, 60%, 31%)
HSVhsv(221, 75%, 50%)
CMYKcmyk(74.8%, 51.2%, 0%, 50.2%)
CIE-LABlab(27.53, 13.08, -40.08)
CIE-LCHlch(27.53, 42.16, 288.08°)
OKLaboklab(37.97% -0.0135 -0.1151)
OKLCHoklch(37.97% 0.116 263.3)
XYZxyz(6.1477, 5.2840, 20.7705)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203E7F #7F6120
analogous
#206D7F #203E7F #32207F
triadic
#203E7F #7F203E #3E7F20
tetradic
#203E7F #7F206D #7F6120 #207F32
square
#203E7F #7F206D #7F6120 #207F32
split-complementary
#203E7F #7F3220 #6D7F20
monochromatic
#070E1D #14264E #203E7F #2C56B0 #4874D1

Accessibility & contrast

On white

10.21
#203E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#203E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203E7F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203E7F#FFFFFF#000000##FFFFFF
##203E7F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194681
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203e7f;
/* rgb */ color: rgb(32, 62, 127);
/* oklch */ color: oklch(38.0% 0.116 263.3);
Tailwind
colors: {
  custom: {
    50: '#6972a5',
    500: '#203e7f',
    950: '#000000',
  },
}
SCSS
$custom: #203e7f;
$custom-light: #6972a5;
$custom-dark: #000000;
JSON
{
  "hex": "#203e7f",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 221.053,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.1159,
    "h": 263.3
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#203E7F
secondary
#B29149
accent
#B145E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #203E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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