#20137D#20137D

#20137D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.164 H 275.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#20137D
RGBrgb(32, 19, 125)
HSLhsl(247, 74%, 28%)
HSVhsv(247, 85%, 49%)
CMYKcmyk(74.4%, 84.8%, 0%, 51%)
CIE-LABlab(16.76, 40.05, -56.43)
CIE-LCHlch(16.76, 69.20, 305.37°)
OKLaboklab(30.03% 0.0159 -0.1631)
OKLCHoklch(30.03% 0.164 275.6)
XYZxyz(4.5290, 2.2531, 19.5943)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20137D #707D13
analogous
#133B7D #20137D #55137D
triadic
#20137D #7D2013 #137D20
tetradic
#20137D #7D133B #707D13 #137D55
square
#20137D #7D133B #707D13 #137D55
split-complementary
#20137D #7D5513 #3B7D13
monochromatic
#07041B #120B48 #20137D #2E1BB2 #422CDF

Accessibility & contrast

On white

14.48
#20137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#20137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20137D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20137D#FFFFFF#000000##FFFFFF
##20137D1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20137d;
/* rgb */ color: rgb(32, 19, 125);
/* oklch */ color: oklch(30.0% 0.164 275.6);
Tailwind
colors: {
  custom: {
    50: '#6c55a4',
    500: '#20137d',
    950: '#000000',
  },
}
SCSS
$custom: #20137d;
$custom-light: #6c55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20137d",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 247.358,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30032,
    "c": 0.1639,
    "h": 275.6
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#20137D
secondary
#A4B339
accent
#F038DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #20137D

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

Preview Lab → · Contrast checker → · Palette generator →

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