#203F7E#203F7E

#203F7E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.113 H 262.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#203F7E
RGBrgb(32, 63, 126)
HSLhsl(220, 59%, 31%)
HSVhsv(220, 75%, 49%)
CMYKcmyk(74.6%, 50%, 0%, 50.6%)
CIE-LABlab(27.76, 11.99, -39.09)
CIE-LCHlch(27.76, 40.88, 287.05°)
OKLaboklab(38.13% -0.0146 -0.1122)
OKLCHoklch(38.13% 0.113 262.6)
XYZxyz(6.1377, 5.3678, 20.4472)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F7E #7E5F20
analogous
#206E7E #203F7E #30207E
triadic
#203F7E #7E203F #3F7E20
tetradic
#203F7E #7E206E #7E5F20 #207E30
square
#203F7E #7E206E #7E5F20 #207E30
split-complementary
#203F7E #7E3020 #6E7E20
monochromatic
#070E1C #14274D #203F7E #2C57AF #4875D0

Accessibility & contrast

On white

10.13
#203F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#203F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F7E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F7E#FFFFFF#000000##FFFFFF
##203F7E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#023D7D
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203f7e;
/* rgb */ color: rgb(32, 63, 126);
/* oklch */ color: oklch(38.1% 0.113 262.6);
Tailwind
colors: {
  custom: {
    50: '#6973a4',
    500: '#203f7e',
    950: '#000000',
  },
}
SCSS
$custom: #203f7e;
$custom-light: #6973a4;
$custom-dark: #000000;
JSON
{
  "hex": "#203f7e",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 220.213,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38126,
    "c": 0.1131,
    "h": 262.6
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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