#20299B#20299B

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

Color values

HEX#20299B
RGBrgb(32, 41, 155)
HSLhsl(236, 66%, 37%)
HSVhsv(236, 79%, 61%)
CMYKcmyk(79.4%, 73.5%, 0%, 39.2%)
CIE-LABlab(24.51, 37.96, -62.35)
CIE-LCHlch(24.51, 73.00, 301.33°)
OKLaboklab(36.5% 0.0005 -0.1806)
OKLCHoklch(36.5% 0.181 270.1)
XYZxyz(7.3030, 4.2587, 31.4411)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20299B #9B9220
analogous
#20679B #20299B #55209B
triadic
#20299B #9B2029 #299B20
tetradic
#20299B #9B2067 #9B9220 #209B55
square
#20299B #9B2067 #9B9220 #209B55
split-complementary
#20299B #9B5520 #679B20
monochromatic
#0B0E36 #161C68 #20299B #2A36CE #5962DD

Accessibility & contrast

On white

11.34
#20299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20299B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20299B#FFFFFF#000000##FFFFFF
##20299B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20299b;
/* rgb */ color: rgb(32, 41, 155);
/* oklch */ color: oklch(36.5% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#7264ba',
    500: '#20299b',
    950: '#000000',
  },
}
SCSS
$custom: #20299b;
$custom-light: #7264ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20299b",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 235.61,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.18058,
    "h": 270.1
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20299B

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

Preview Lab → · Contrast checker → · Palette generator →

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