#20299F#20299F

#20299F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.186 H 270.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#20299F
RGBrgb(32, 41, 159)
HSLhsl(236, 66%, 37%)
HSVhsv(236, 80%, 62%)
CMYKcmyk(79.9%, 74.2%, 0%, 37.6%)
CIE-LABlab(24.94, 39.37, -64.09)
CIE-LCHlch(24.94, 75.21, 301.57°)
OKLaboklab(36.93% -0.0001 -0.1856)
OKLCHoklch(36.93% 0.186 270)
XYZxyz(7.6445, 4.3953, 33.2396)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20299F #9F9620
analogous
#20699F #20299F #56209F
triadic
#20299F #9F2029 #299F20
tetradic
#20299F #9F2069 #9F9620 #209F56
square
#20299F #9F2069 #9F9620 #209F56
split-complementary
#20299F #9F5620 #699F20
monochromatic
#0B0F39 #161C6C #20299F #2A36D2 #5B65DE

Accessibility & contrast

On white

11.17
#20299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#20299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20299F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20299F#FFFFFF#000000##FFFFFF
##20299F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20299f;
/* rgb */ color: rgb(32, 41, 159);
/* oklch */ color: oklch(36.9% 0.186 270.0);
Tailwind
colors: {
  custom: {
    50: '#7364bd',
    500: '#20299f',
    950: '#000000',
  },
}
SCSS
$custom: #20299f;
$custom-light: #7364bd;
$custom-dark: #000000;
JSON
{
  "hex": "#20299f",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 235.748,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36933,
    "c": 0.18562,
    "h": 270
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#20299F
secondary
#C2BB59
accent
#DD3EE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #20299F

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

Preview Lab → · Contrast checker → · Palette generator →

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