#20299D#20299D

#20299D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.183 H 270.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#20299D
RGBrgb(32, 41, 157)
HSLhsl(236, 66%, 37%)
HSVhsv(236, 80%, 62%)
CMYKcmyk(79.6%, 73.9%, 0%, 38.4%)
CIE-LABlab(24.72, 38.67, -63.22)
CIE-LCHlch(24.72, 74.11, 301.45°)
OKLaboklab(36.71% 0.0002 -0.1831)
OKLCHoklch(36.71% 0.183 270.1)
XYZxyz(7.4723, 4.3264, 32.3330)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20299D #9D9420
analogous
#20689D #20299D #56209D
triadic
#20299D #9D2029 #299D20
tetradic
#20299D #9D2068 #9D9420 #209D56
square
#20299D #9D2068 #9D9420 #209D56
split-complementary
#20299D #9D5620 #689D20
monochromatic
#0B0E37 #161C6A #20299D #2A36D0 #5A63DD

Accessibility & contrast

On white

11.26
#20299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#20299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20299D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20299D#FFFFFF#000000##FFFFFF
##20299D1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20299d;
/* rgb */ color: rgb(32, 41, 157);
/* oklch */ color: oklch(36.7% 0.183 270.1);
Tailwind
colors: {
  custom: {
    50: '#7364bb',
    500: '#20299d',
    950: '#000000',
  },
}
SCSS
$custom: #20299d;
$custom-light: #7364bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20299d",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 235.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36715,
    "c": 0.18311,
    "h": 270.1
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#20299D
secondary
#C1BA57
accent
#DD3FE9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #20299D

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

Preview Lab → · Contrast checker → · Palette generator →

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