#20229A#20229A

#20229A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.186 H 271.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#20229A
RGBrgb(32, 34, 154)
HSLhsl(239, 66%, 36%)
HSVhsv(239, 79%, 60%)
CMYKcmyk(79.2%, 77.9%, 0%, 39.6%)
CIE-LABlab(22.94, 41.71, -64.33)
CIE-LCHlch(22.94, 76.67, 302.96°)
OKLaboklab(35.35% 0.0034 -0.1863)
OKLCHoklch(35.35% 0.186 271)
XYZxyz(6.9985, 3.7834, 30.9270)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20229A #9A9820
analogous
#205F9A #20229A #5B209A
triadic
#20229A #9A2022 #229A20
tetradic
#20229A #9A205F #9A9820 #209A5B
square
#20229A #9A205F #9A9820 #209A5B
split-complementary
#20229A #9A5B20 #5F9A20
monochromatic
#0B0C35 #151767 #20229A #2B2DCD #585ADC

Accessibility & contrast

On white

11.95
#20229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#20229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20229A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20229A#FFFFFF#000000##FFFFFF
##20229A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20229a;
/* rgb */ color: rgb(32, 34, 154);
/* oklch */ color: oklch(35.4% 0.186 271.0);
Tailwind
colors: {
  custom: {
    50: '#725fb9',
    500: '#20229a',
    950: '#000000',
  },
}
SCSS
$custom: #20229a;
$custom-light: #725fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#20229a",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 239.016,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.18629,
    "h": 271
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#20229A
secondary
#C0BE56
accent
#E63FE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #20229A

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

Preview Lab → · Contrast checker → · Palette generator →

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