#20137E#20137E

#20137E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.165 H 275.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#20137E
RGBrgb(32, 19, 126)
HSLhsl(247, 74%, 28%)
HSVhsv(247, 85%, 49%)
CMYKcmyk(74.6%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.89, 40.37, -56.86)
CIE-LCHlch(16.89, 69.73, 305.37°)
OKLaboklab(30.15% 0.0156 -0.1644)
OKLCHoklch(30.15% 0.165 275.4)
XYZxyz(4.5932, 2.2787, 19.9324)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20137E #717E13
analogous
#133B7E #20137E #55137E
triadic
#20137E #7E2013 #137E20
tetradic
#20137E #7E133B #717E13 #137E55
square
#20137E #7E133B #717E13 #137E55
split-complementary
#20137E #7E5513 #3B7E13
monochromatic
#07041B #120B49 #20137E #2E1BB3 #422CDF

Accessibility & contrast

On white

14.43
#20137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#20137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20137E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20137E#FFFFFF#000000##FFFFFF
##20137E1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #20137e;
/* rgb */ color: rgb(32, 19, 126);
/* oklch */ color: oklch(30.2% 0.165 275.4);
Tailwind
colors: {
  custom: {
    50: '#6d55a5',
    500: '#20137e',
    950: '#000000',
  },
}
SCSS
$custom: #20137e;
$custom-light: #6d55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#20137e",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 247.29,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30153,
    "c": 0.16511,
    "h": 275.4
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#20137E
secondary
#A5B439
accent
#F037DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #20137E

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

Preview Lab → · Contrast checker → · Palette generator →

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