#20429D#20429D

#20429D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.154 H 264.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#20429D
RGBrgb(32, 66, 157)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 80%, 62%)
CMYKcmyk(79.6%, 58%, 0%, 38.4%)
CIE-LABlab(30.97, 22.27, -52.98)
CIE-LCHlch(30.97, 57.47, 292.80°)
OKLaboklab(41.3% -0.0139 -0.153)
OKLCHoklch(41.3% 0.154 264.8)
XYZxyz(8.6275, 6.6368, 32.7181)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20429D #9D7B20
analogous
#20819D #20429D #3D209D
triadic
#20429D #9D2042 #429D20
tetradic
#20429D #9D2081 #9D7B20 #209D3D
square
#20429D #9D2081 #9D7B20 #209D3D
split-complementary
#20429D #9D3D20 #819D20
monochromatic
#0B1737 #162D6A #20429D #2A57D0 #5A7EDD

Accessibility & contrast

On white

9.02
#20429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#20429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20429D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20429D#FFFFFF#000000##FFFFFF
##20429D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20429d;
/* rgb */ color: rgb(32, 66, 157);
/* oklch */ color: oklch(41.3% 0.154 264.8);
Tailwind
colors: {
  custom: {
    50: '#7075bb',
    500: '#20429d',
    950: '#000000',
  },
}
SCSS
$custom: #20429d;
$custom-light: #7075bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20429d",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 223.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.15362,
    "h": 264.8
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#20429D
secondary
#C1A557
accent
#BB3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20429D

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

Preview Lab → · Contrast checker → · Palette generator →

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