#20299C#20299C

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

Color values

HEX#20299C
RGBrgb(32, 41, 156)
HSLhsl(236, 66%, 37%)
HSVhsv(236, 79%, 61%)
CMYKcmyk(79.5%, 73.7%, 0%, 38.8%)
CIE-LABlab(24.62, 38.31, -62.79)
CIE-LCHlch(24.62, 73.55, 301.39°)
OKLaboklab(36.61% 0.0003 -0.1818)
OKLCHoklch(36.61% 0.182 270.1)
XYZxyz(7.3873, 4.2924, 31.8852)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20299C #9C9320
analogous
#20679C #20299C #55209C
triadic
#20299C #9C2029 #299C20
tetradic
#20299C #9C2067 #9C9320 #209C55
square
#20299C #9C2067 #9C9320 #209C55
split-complementary
#20299C #9C5520 #679C20
monochromatic
#0B0E36 #161C69 #20299C #2A36CF #5963DD

Accessibility & contrast

On white

11.30
#20299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#20299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20299C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20299C#FFFFFF#000000##FFFFFF
##20299C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20299c;
/* rgb */ color: rgb(32, 41, 156);
/* oklch */ color: oklch(36.6% 0.182 270.1);
Tailwind
colors: {
  custom: {
    50: '#7264ba',
    500: '#20299c',
    950: '#000000',
  },
}
SCSS
$custom: #20299c;
$custom-light: #7264ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20299c",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 235.645,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36607,
    "c": 0.18184,
    "h": 270.1
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20299C

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

Preview Lab → · Contrast checker → · Palette generator →

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