#20428F#20428F

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

Color values

HEX#20428F
RGBrgb(32, 66, 143)
HSLhsl(222, 63%, 34%)
HSVhsv(222, 78%, 56%)
CMYKcmyk(77.6%, 53.8%, 0%, 43.9%)
CIE-LABlab(29.88, 16.72, -46.21)
CIE-LCHlch(29.88, 49.14, 289.89°)
OKLaboklab(40.14% -0.015 -0.1331)
OKLCHoklch(40.14% 0.134 263.6)
XYZxyz(7.5000, 6.1858, 26.7800)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20428F #8F6D20
analogous
#207A8F #20428F #36208F
triadic
#20428F #8F2042 #428F20
tetradic
#20428F #8F207A #8F6D20 #208F36
square
#20428F #8F207A #8F6D20 #208F36
split-complementary
#20428F #8F3620 #7A8F20
monochromatic
#0A142B #152B5D #20428F #2B59C1 #517BD8

Accessibility & contrast

On white

9.39
#20428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#20428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20428F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20428F#FFFFFF#000000##FFFFFF
##20428F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20428f;
/* rgb */ color: rgb(32, 66, 143);
/* oklch */ color: oklch(40.1% 0.134 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d75b0',
    500: '#20428f',
    950: '#000000',
  },
}
SCSS
$custom: #20428f;
$custom-light: #6d75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20428f",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 221.622,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40135,
    "c": 0.13391,
    "h": 263.6
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#20428F
secondary
#BB9A4F
accent
#B441E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #20428F

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

Preview Lab → · Contrast checker → · Palette generator →

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