#20429C#20429C

#20429C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.152 H 264.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#20429C
RGBrgb(32, 66, 156)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(79.5%, 57.7%, 0%, 38.8%)
CIE-LABlab(30.89, 21.88, -52.51)
CIE-LCHlch(30.89, 56.88, 292.62°)
OKLaboklab(41.22% -0.0139 -0.1516)
OKLCHoklch(41.22% 0.152 264.7)
XYZxyz(8.5425, 6.6028, 32.2703)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20429C #9C7A20
analogous
#20809C #20429C #3C209C
triadic
#20429C #9C2042 #429C20
tetradic
#20429C #9C2080 #9C7A20 #209C3C
square
#20429C #9C2080 #9C7A20 #209C3C
split-complementary
#20429C #9C3C20 #809C20
monochromatic
#0B1736 #162D69 #20429C #2A57CF #597DDD

Accessibility & contrast

On white

9.05
#20429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#20429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20429C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20429C#FFFFFF#000000##FFFFFF
##20429C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20429c;
/* rgb */ color: rgb(32, 66, 156);
/* oklch */ color: oklch(41.2% 0.152 264.7);
Tailwind
colors: {
  custom: {
    50: '#7075ba',
    500: '#20429c',
    950: '#000000',
  },
}
SCSS
$custom: #20429c;
$custom-light: #7075ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20429c",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 223.548,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.15223,
    "h": 264.7
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#20429C
secondary
#C1A457
accent
#BA3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20429C

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

Preview Lab → · Contrast checker → · Palette generator →

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