#20137C#20137C

#20137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.163 H 275.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#20137C
RGBrgb(32, 19, 124)
HSLhsl(247, 73%, 28%)
HSVhsv(247, 85%, 49%)
CMYKcmyk(74.2%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.64, 39.73, -55.99)
CIE-LCHlch(16.64, 68.66, 305.36°)
OKLaboklab(29.91% 0.0162 -0.1619)
OKLCHoklch(29.91% 0.163 275.7)
XYZxyz(4.4654, 2.2276, 19.2595)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20137C #6F7C13
analogous
#133A7C #20137C #55137C
triadic
#20137C #7C2013 #137C20
tetradic
#20137C #7C133A #6F7C13 #137C55
square
#20137C #7C133A #6F7C13 #137C55
split-complementary
#20137C #7C5513 #3A7C13
monochromatic
#07041B #120B47 #20137C #2E1BB1 #412BDF

Accessibility & contrast

On white

14.53
#20137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20137C
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20137C#FFFFFF#000000##FFFFFF
##20137C1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20137c;
/* rgb */ color: rgb(32, 19, 124);
/* oklch */ color: oklch(29.9% 0.163 275.7);
Tailwind
colors: {
  custom: {
    50: '#6c55a3',
    500: '#20137c',
    950: '#000000',
  },
}
SCSS
$custom: #20137c;
$custom-light: #6c55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20137c",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 247.429,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.2991,
    "c": 0.16267,
    "h": 275.7
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20137C

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

Preview Lab → · Contrast checker → · Palette generator →

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