#20429E#20429E

#20429E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.155 H 264.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#20429E
RGBrgb(32, 66, 158)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 80%, 62%)
CMYKcmyk(79.7%, 58.2%, 0%, 38%)
CIE-LABlab(31.05, 22.66, -53.46)
CIE-LCHlch(31.05, 58.06, 292.98°)
OKLaboklab(41.39% -0.0138 -0.1544)
OKLCHoklch(41.39% 0.155 264.9)
XYZxyz(8.7132, 6.6711, 33.1696)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20429E #9E7C20
analogous
#20819E #20429E #3D209E
triadic
#20429E #9E2042 #429E20
tetradic
#20429E #9E2081 #9E7C20 #209E3D
square
#20429E #9E2081 #9E7C20 #209E3D
split-complementary
#20429E #9E3D20 #819E20
monochromatic
#0B1738 #162D6B #20429E #2A57D1 #5B7EDE

Accessibility & contrast

On white

9.00
#20429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20429E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20429E#FFFFFF#000000##FFFFFF
##20429E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20429e;
/* rgb */ color: rgb(32, 66, 158);
/* oklch */ color: oklch(41.4% 0.155 264.9);
Tailwind
colors: {
  custom: {
    50: '#7175bb',
    500: '#20429e',
    950: '#000000',
  },
}
SCSS
$custom: #20429e;
$custom-light: #7175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20429e",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 223.81,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.155,
    "h": 264.9
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20429E

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

Preview Lab → · Contrast checker → · Palette generator →

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