#20428A#20428A

#20428A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.127 H 262.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#20428A
RGBrgb(32, 66, 138)
HSLhsl(221, 62%, 33%)
HSVhsv(221, 77%, 54%)
CMYKcmyk(76.8%, 52.2%, 0%, 45.9%)
CIE-LABlab(29.51, 14.72, -43.73)
CIE-LCHlch(29.51, 46.14, 288.60°)
OKLaboklab(39.74% -0.0156 -0.1258)
OKLCHoklch(39.74% 0.127 262.9)
XYZxyz(7.1297, 6.0377, 24.8295)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20428A #8A6820
analogous
#20778A #20428A #33208A
triadic
#20428A #8A2042 #428A20
tetradic
#20428A #8A2077 #8A6820 #208A33
square
#20428A #8A2077 #8A6820 #208A33
split-complementary
#20428A #8A3320 #778A20
monochromatic
#091227 #142A58 #20428A #2C5ABC #4E7AD6

Accessibility & contrast

On white

9.51
#20428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#20428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20428A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20428A#FFFFFF#000000##FFFFFF
##20428A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20428a;
/* rgb */ color: rgb(32, 66, 138);
/* oklch */ color: oklch(39.7% 0.127 262.9);
Tailwind
colors: {
  custom: {
    50: '#6c75ad',
    500: '#20428a',
    950: '#000000',
  },
}
SCSS
$custom: #20428a;
$custom-light: #6c75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20428a",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 220.755,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39737,
    "c": 0.12673,
    "h": 262.9
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#20428A
secondary
#B9964D
accent
#B142E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #20428A

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

Preview Lab → · Contrast checker → · Palette generator →

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