#20136E#20136E

#20136E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.145 H 278.1°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#20136E
RGBrgb(32, 19, 110)
HSLhsl(249, 71%, 25%)
HSVhsv(249, 83%, 43%)
CMYKcmyk(70.9%, 82.7%, 0%, 56.9%)
CIE-LABlab(14.94, 35.19, -49.77)
CIE-LCHlch(14.94, 60.95, 305.26°)
OKLaboklab(28.24% 0.0205 -0.1438)
OKLCHoklch(28.24% 0.145 278.1)
XYZxyz(3.6421, 1.8983, 14.9233)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20136E #616E13
analogous
#13346E #20136E #4D136E
triadic
#20136E #6E2013 #136E20
tetradic
#20136E #6E1334 #616E13 #136E4D
square
#20136E #6E1334 #616E13 #136E4D
split-complementary
#20136E #6E4D13 #346E13
monochromatic
#08051A #110A3A #20136E #2F1CA2 #3E25D6

Accessibility & contrast

On white

15.22
#20136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#20136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20136E
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20136E#FFFFFF#000000##FFFFFF
##20136E1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #20136e;
/* rgb */ color: rgb(32, 19, 110);
/* oklch */ color: oklch(28.2% 0.145 278.1);
Tailwind
colors: {
  custom: {
    50: '#695399',
    500: '#20136e',
    950: '#000000',
  },
}
SCSS
$custom: #20136e;
$custom-light: #695399;
$custom-dark: #000000;
JSON
{
  "hex": "#20136e",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 248.571,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28239,
    "c": 0.14521,
    "h": 278.1
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#20136E
secondary
#95A538
accent
#ED3AD4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20136E

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

Preview Lab → · Contrast checker → · Palette generator →

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