#203C7E#203C7E

#203C7E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.117 H 264.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#203C7E
RGBrgb(32, 60, 126)
HSLhsl(222, 59%, 31%)
HSVhsv(222, 75%, 49%)
CMYKcmyk(74.6%, 52.4%, 0%, 50.6%)
CIE-LABlab(26.86, 14.07, -40.53)
CIE-LCHlch(26.86, 42.91, 289.15°)
OKLaboklab(37.44% -0.0118 -0.1165)
OKLCHoklch(37.44% 0.117 264.2)
XYZxyz(5.9761, 5.0445, 20.3934)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C7E #7E6220
analogous
#206B7E #203C7E #33207E
triadic
#203C7E #7E203C #3C7E20
tetradic
#203C7E #7E206B #7E6220 #207E33
square
#203C7E #7E206B #7E6220 #207E33
split-complementary
#203C7E #7E3320 #6B7E20
monochromatic
#070E1C #14254D #203C7E #2C53AF #4871D0

Accessibility & contrast

On white

10.45
#203C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#203C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C7E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C7E#FFFFFF#000000##FFFFFF
##203C7E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #203c7e;
/* rgb */ color: rgb(32, 60, 126);
/* oklch */ color: oklch(37.4% 0.117 264.2);
Tailwind
colors: {
  custom: {
    50: '#6971a4',
    500: '#203c7e',
    950: '#000000',
  },
}
SCSS
$custom: #203c7e;
$custom-light: #6971a4;
$custom-dark: #000000;
JSON
{
  "hex": "#203c7e",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 222.128,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37442,
    "c": 0.11707,
    "h": 264.2
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#203C7E
secondary
#B19249
accent
#B445E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #203C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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