#203F7A#203F7A

#203F7A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.107 H 261.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#203F7A
RGBrgb(32, 63, 122)
HSLhsl(219, 58%, 30%)
HSVhsv(219, 74%, 48%)
CMYKcmyk(73.8%, 48.4%, 0%, 52.2%)
CIE-LABlab(27.48, 10.38, -37.02)
CIE-LCHlch(27.48, 38.45, 285.67°)
OKLaboklab(37.82% -0.0152 -0.1061)
OKLCHoklch(37.82% 0.107 261.8)
XYZxyz(5.8848, 5.2666, 19.1150)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F7A #7A5B20
analogous
#206C7A #203F7A #2E207A
triadic
#203F7A #7A203F #3F7A20
tetradic
#203F7A #7A206C #7A5B20 #207A2E
square
#203F7A #7A206C #7A5B20 #207A2E
split-complementary
#203F7A #7A2E20 #6C7A20
monochromatic
#070D19 #13264A #203F7A #2D58AA #4675CE

Accessibility & contrast

On white

10.23
#203F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#203F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F7A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F7A#FFFFFF#000000##FFFFFF
##203F7A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#0C3D79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203f7a;
/* rgb */ color: rgb(32, 63, 122);
/* oklch */ color: oklch(37.8% 0.107 261.8);
Tailwind
colors: {
  custom: {
    50: '#6873a1',
    500: '#203f7a',
    950: '#000000',
  },
}
SCSS
$custom: #203f7a;
$custom-light: #6873a1;
$custom-dark: #000000;
JSON
{
  "hex": "#203f7a",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 219.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.10717,
    "h": 261.8
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#203F7A
secondary
#AD8B49
accent
#AC46E2
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #203F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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