#20137B#20137B

#20137B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.161 H 275.9°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#20137B
RGBrgb(32, 19, 123)
HSLhsl(248, 73%, 28%)
HSVhsv(248, 85%, 48%)
CMYKcmyk(74%, 84.6%, 0%, 51.8%)
CIE-LABlab(16.52, 39.41, -55.56)
CIE-LCHlch(16.52, 68.12, 305.35°)
OKLaboklab(29.79% 0.0165 -0.1606)
OKLCHoklch(29.79% 0.161 275.9)
XYZxyz(4.4025, 2.2025, 18.9282)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20137B #6E7B13
analogous
#133A7B #20137B #54137B
triadic
#20137B #7B2013 #137B20
tetradic
#20137B #7B133A #6E7B13 #137B54
square
#20137B #7B133A #6E7B13 #137B54
split-complementary
#20137B #7B5413 #3A7B13
monochromatic
#07041B #120B46 #20137B #2E1BB0 #412ADE

Accessibility & contrast

On white

14.58
#20137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#20137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20137B
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20137B#FFFFFF#000000##FFFFFF
##20137B1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20137b;
/* rgb */ color: rgb(32, 19, 123);
/* oklch */ color: oklch(29.8% 0.161 275.9);
Tailwind
colors: {
  custom: {
    50: '#6c54a2',
    500: '#20137b',
    950: '#000000',
  },
}
SCSS
$custom: #20137b;
$custom-light: #6c54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#20137b",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 247.5,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29789,
    "c": 0.16145,
    "h": 275.9
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#20137B
secondary
#A2B139
accent
#F038D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #20137B

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

Preview Lab → · Contrast checker → · Palette generator →

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