#20428D#20428D

#20428D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.131 H 263.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#20428D
RGBrgb(32, 66, 141)
HSLhsl(221, 63%, 34%)
HSVhsv(221, 77%, 55%)
CMYKcmyk(77.3%, 53.2%, 0%, 44.7%)
CIE-LABlab(29.73, 15.92, -45.22)
CIE-LCHlch(29.73, 47.94, 289.39°)
OKLaboklab(39.97% -0.0152 -0.1302)
OKLCHoklch(39.97% 0.131 263.3)
XYZxyz(7.3499, 6.1258, 25.9892)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20428D #8D6B20
analogous
#20798D #20428D #34208D
triadic
#20428D #8D2042 #428D20
tetradic
#20428D #8D2079 #8D6B20 #208D34
square
#20428D #8D2079 #8D6B20 #208D34
split-complementary
#20428D #8D3420 #798D20
monochromatic
#091329 #152B5B #20428D #2B59BF #507AD7

Accessibility & contrast

On white

9.44
#20428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20428D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20428D#FFFFFF#000000##FFFFFF
##20428D1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20428d;
/* rgb */ color: rgb(32, 66, 141);
/* oklch */ color: oklch(40.0% 0.131 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c75af',
    500: '#20428d',
    950: '#000000',
  },
}
SCSS
$custom: #20428d;
$custom-light: #6c75af;
$custom-dark: #000000;
JSON
{
  "hex": "#20428d",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 221.284,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.13105,
    "h": 263.3
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#20428D
secondary
#BA994E
accent
#B342E6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #20428D

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

Preview Lab → · Contrast checker → · Palette generator →

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