#20428E#20428E

#20428E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.132 H 263.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#20428E
RGBrgb(32, 66, 142)
HSLhsl(221, 63%, 34%)
HSVhsv(221, 77%, 56%)
CMYKcmyk(77.5%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.80, 16.32, -45.72)
CIE-LCHlch(29.80, 48.54, 289.64°)
OKLaboklab(40.06% -0.0151 -0.1316)
OKLCHoklch(40.06% 0.132 263.5)
XYZxyz(7.4246, 6.1557, 26.3828)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20428E #8E6C20
analogous
#20798E #20428E #35208E
triadic
#20428E #8E2042 #428E20
tetradic
#20428E #8E2079 #8E6C20 #208E35
square
#20428E #8E2079 #8E6C20 #208E35
split-complementary
#20428E #8E3520 #798E20
monochromatic
#09142A #152B5C #20428E #2B59C0 #517AD8

Accessibility & contrast

On white

9.41
#20428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#20428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20428E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20428E#FFFFFF#000000##FFFFFF
##20428E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20428e;
/* rgb */ color: rgb(32, 66, 142);
/* oklch */ color: oklch(40.1% 0.132 263.5);
Tailwind
colors: {
  custom: {
    50: '#6d75b0',
    500: '#20428e',
    950: '#000000',
  },
}
SCSS
$custom: #20428e;
$custom-light: #6d75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20428e",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 221.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.13248,
    "h": 263.5
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#20428E
secondary
#BB9A4F
accent
#B342E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #20428E

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

Preview Lab → · Contrast checker → · Palette generator →

#20428E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva