#203F7F#203F7F

#203F7F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.115 H 262.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#203F7F
RGBrgb(32, 63, 127)
HSLhsl(220, 60%, 31%)
HSVhsv(220, 75%, 50%)
CMYKcmyk(74.8%, 50.4%, 0%, 50.2%)
CIE-LABlab(27.83, 12.39, -39.60)
CIE-LCHlch(27.83, 41.49, 287.37°)
OKLaboklab(38.2% -0.0144 -0.1137)
OKLCHoklch(38.2% 0.115 262.8)
XYZxyz(6.2026, 5.3937, 20.7888)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F7F #7F6020
analogous
#206E7F #203F7F #30207F
triadic
#203F7F #7F203F #3F7F20
tetradic
#203F7F #7F206E #7F6020 #207F30
square
#203F7F #7F206E #7F6020 #207F30
split-complementary
#203F7F #7F3020 #6E7F20
monochromatic
#070F1D #14274E #203F7F #2C57B0 #4875D1

Accessibility & contrast

On white

10.10
#203F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#203F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F7F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F7F#FFFFFF#000000##FFFFFF
##203F7F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4681
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203f7f;
/* rgb */ color: rgb(32, 63, 127);
/* oklch */ color: oklch(38.2% 0.115 262.8);
Tailwind
colors: {
  custom: {
    50: '#6973a5',
    500: '#203f7f',
    950: '#000000',
  },
}
SCSS
$custom: #203f7f;
$custom-light: #6973a5;
$custom-dark: #000000;
JSON
{
  "hex": "#203f7f",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 220.421,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.11458,
    "h": 262.8
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#203F7F
secondary
#B29049
accent
#AF45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #203F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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