#20429F#20429F

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

Color values

HEX#20429F
RGBrgb(32, 66, 159)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 80%, 62%)
CMYKcmyk(79.9%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.13, 23.06, -53.93)
CIE-LCHlch(31.13, 58.65, 293.15°)
OKLaboklab(41.47% -0.0138 -0.1558)
OKLCHoklch(41.47% 0.156 264.9)
XYZxyz(8.7997, 6.7057, 33.6247)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20429F #9F7D20
analogous
#20829F #20429F #3E209F
triadic
#20429F #9F2042 #429F20
tetradic
#20429F #9F2082 #9F7D20 #209F3E
square
#20429F #9F2082 #9F7D20 #209F3E
split-complementary
#20429F #9F3E20 #829F20
monochromatic
#0B1839 #162D6C #20429F #2A57D2 #5B7EDE

Accessibility & contrast

On white

8.97
#20429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#20429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20429F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20429F#FFFFFF#000000##FFFFFF
##20429F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20429f;
/* rgb */ color: rgb(32, 66, 159);
/* oklch */ color: oklch(41.5% 0.156 264.9);
Tailwind
colors: {
  custom: {
    50: '#7175bc',
    500: '#20429f',
    950: '#000000',
  },
}
SCSS
$custom: #20429f;
$custom-light: #7175bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20429f",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 223.937,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41473,
    "c": 0.15638,
    "h": 264.9
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#20429F
secondary
#C2A659
accent
#BC3EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20429F

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

Preview Lab → · Contrast checker → · Palette generator →

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