#20428C#20428C

#20428C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.130 H 263.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#20428C
RGBrgb(32, 66, 140)
HSLhsl(221, 63%, 34%)
HSVhsv(221, 77%, 55%)
CMYKcmyk(77.1%, 52.9%, 0%, 45.1%)
CIE-LABlab(29.65, 15.52, -44.73)
CIE-LCHlch(29.65, 47.34, 289.13°)
OKLaboklab(39.9% -0.0153 -0.1287)
OKLCHoklch(39.9% 0.13 263.2)
XYZxyz(7.2758, 6.0961, 25.5991)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20428C #8C6A20
analogous
#20788C #20428C #34208C
triadic
#20428C #8C2042 #428C20
tetradic
#20428C #8C2078 #8C6A20 #208C34
square
#20428C #8C2078 #8C6A20 #208C34
split-complementary
#20428C #8C3420 #788C20
monochromatic
#091328 #152B5A #20428C #2B59BE #507AD7

Accessibility & contrast

On white

9.46
#20428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#20428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20428C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20428C#FFFFFF#000000##FFFFFF
##20428C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20428c;
/* rgb */ color: rgb(32, 66, 140);
/* oklch */ color: oklch(39.9% 0.130 263.2);
Tailwind
colors: {
  custom: {
    50: '#6c75ae',
    500: '#20428c',
    950: '#000000',
  },
}
SCSS
$custom: #20428c;
$custom-light: #6c75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20428c",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 221.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39895,
    "c": 0.12961,
    "h": 263.2
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#20428C
secondary
#BA984E
accent
#B242E6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #20428C

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

Preview Lab → · Contrast checker → · Palette generator →

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