#20136B#20136B

#20136B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.141 H 278.7°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#20136B
RGBrgb(32, 19, 107)
HSLhsl(249, 70%, 25%)
HSVhsv(249, 82%, 42%)
CMYKcmyk(70.1%, 82.2%, 0%, 58%)
CIE-LABlab(14.59, 34.19, -48.39)
CIE-LCHlch(14.59, 59.25, 305.25°)
OKLaboklab(27.89% 0.0214 -0.1398)
OKLCHoklch(27.89% 0.141 278.7)
XYZxyz(3.4815, 1.8341, 14.0776)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20136B #5E6B13
analogous
#13326B #20136B #4C136B
triadic
#20136B #6B2013 #136B20
tetradic
#20136B #6B1332 #5E6B13 #136B4C
square
#20136B #6B1332 #5E6B13 #136B4C
split-complementary
#20136B #6B4C13 #326B13
monochromatic
#08051A #100A37 #20136B #301C9F #3F25D3

Accessibility & contrast

On white

15.36
#20136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20136B
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20136B#FFFFFF#000000##FFFFFF
##20136B1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20136b;
/* rgb */ color: rgb(32, 19, 107);
/* oklch */ color: oklch(27.9% 0.141 278.7);
Tailwind
colors: {
  custom: {
    50: '#685396',
    500: '#20136b',
    950: '#000000',
  },
}
SCSS
$custom: #20136b;
$custom-light: #685396;
$custom-dark: #000000;
JSON
{
  "hex": "#20136b",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 248.864,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27888,
    "c": 0.14138,
    "h": 278.7
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#20136B
secondary
#92A238
accent
#ED3BD2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #20136B

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

Preview Lab → · Contrast checker → · Palette generator →

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