#20299A#20299A

#20299A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.179 H 270.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#20299A
RGBrgb(32, 41, 154)
HSLhsl(236, 66%, 36%)
HSVhsv(236, 79%, 60%)
CMYKcmyk(79.2%, 73.4%, 0%, 39.6%)
CIE-LABlab(24.40, 37.60, -61.91)
CIE-LCHlch(24.40, 72.44, 301.27°)
OKLaboklab(36.39% 0.0006 -0.1793)
OKLCHoklch(36.39% 0.179 270.2)
XYZxyz(7.2193, 4.2252, 31.0007)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20299A #9A9120
analogous
#20669A #20299A #54209A
triadic
#20299A #9A2029 #299A20
tetradic
#20299A #9A2066 #9A9120 #209A54
square
#20299A #9A2066 #9A9120 #209A54
split-complementary
#20299A #9A5420 #669A20
monochromatic
#0B0E35 #151C67 #20299A #2B36CD #5862DC

Accessibility & contrast

On white

11.38
#20299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#20299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20299A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20299A#FFFFFF#000000##FFFFFF
##20299A1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20299a;
/* rgb */ color: rgb(32, 41, 154);
/* oklch */ color: oklch(36.4% 0.179 270.2);
Tailwind
colors: {
  custom: {
    50: '#7264b9',
    500: '#20299a',
    950: '#000000',
  },
}
SCSS
$custom: #20299a;
$custom-light: #7264b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20299a",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 235.574,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.1793,
    "h": 270.2
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#20299A
secondary
#C0B856
accent
#DC3FE9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #20299A

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

Preview Lab → · Contrast checker → · Palette generator →

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