#20136C#20136C

#20136C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.143 H 278.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#20136C
RGBrgb(32, 19, 108)
HSLhsl(249, 70%, 25%)
HSVhsv(249, 82%, 42%)
CMYKcmyk(70.4%, 82.4%, 0%, 57.6%)
CIE-LABlab(14.71, 34.53, -48.85)
CIE-LCHlch(14.71, 59.82, 305.25°)
OKLaboklab(28.01% 0.0211 -0.1411)
OKLCHoklch(28.01% 0.143 278.5)
XYZxyz(3.5344, 1.8552, 14.3563)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20136C #5F6C13
analogous
#13336C #20136C #4D136C
triadic
#20136C #6C2013 #136C20
tetradic
#20136C #6C1333 #5F6C13 #136C4D
square
#20136C #6C1333 #5F6C13 #136C4D
split-complementary
#20136C #6C4D13 #336C13
monochromatic
#08051A #110A38 #20136C #2F1CA0 #3F25D4

Accessibility & contrast

On white

15.32
#20136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#20136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20136C
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20136C#FFFFFF#000000##FFFFFF
##20136C1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20136c;
/* rgb */ color: rgb(32, 19, 108);
/* oklch */ color: oklch(28.0% 0.143 278.5);
Tailwind
colors: {
  custom: {
    50: '#685397',
    500: '#20136c',
    950: '#000000',
  },
}
SCSS
$custom: #20136c;
$custom-light: #685397;
$custom-dark: #000000;
JSON
{
  "hex": "#20136c",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 248.764,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28005,
    "c": 0.14266,
    "h": 278.5
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#20136C
secondary
#93A338
accent
#ED3BD3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20136C

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

Preview Lab → · Contrast checker → · Palette generator →

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