#20137A#20137A

#20137A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.160 H 276.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#20137A
RGBrgb(32, 19, 122)
HSLhsl(248, 73%, 28%)
HSVhsv(248, 84%, 48%)
CMYKcmyk(73.8%, 84.4%, 0%, 52.2%)
CIE-LABlab(16.39, 39.09, -55.12)
CIE-LCHlch(16.39, 67.58, 305.34°)
OKLaboklab(29.67% 0.0168 -0.1593)
OKLCHoklch(29.67% 0.16 276)
XYZxyz(4.3402, 2.1775, 18.6002)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20137A #6D7A13
analogous
#13397A #20137A #54137A
triadic
#20137A #7A2013 #137A20
tetradic
#20137A #7A1339 #6D7A13 #137A54
square
#20137A #7A1339 #6D7A13 #137A54
split-complementary
#20137A #7A5413 #397A13
monochromatic
#07041A #120B45 #20137A #2E1BAF #402ADE

Accessibility & contrast

On white

14.63
#20137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20137A
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20137A#FFFFFF#000000##FFFFFF
##20137A1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20137a;
/* rgb */ color: rgb(32, 19, 122);
/* oklch */ color: oklch(29.7% 0.160 276.0);
Tailwind
colors: {
  custom: {
    50: '#6c54a2',
    500: '#20137a',
    950: '#000000',
  },
}
SCSS
$custom: #20137a;
$custom-light: #6c54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#20137a",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 247.573,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29668,
    "c": 0.16022,
    "h": 276
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20137A

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

Preview Lab → · Contrast checker → · Palette generator →

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