#20136A#20136A

#20136A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.140 H 278.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#20136A
RGBrgb(32, 19, 106)
HSLhsl(249, 70%, 25%)
HSVhsv(249, 82%, 42%)
CMYKcmyk(69.8%, 82.1%, 0%, 58.4%)
CIE-LABlab(14.47, 33.86, -47.93)
CIE-LCHlch(14.47, 58.68, 305.24°)
OKLaboklab(27.77% 0.0216 -0.1384)
OKLCHoklch(27.77% 0.14 278.9)
XYZxyz(3.4292, 1.8131, 13.8021)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20136A #5D6A13
analogous
#13316A #20136A #4C136A
triadic
#20136A #6A2013 #136A20
tetradic
#20136A #6A1331 #5D6A13 #136A4C
square
#20136A #6A1331 #5D6A13 #136A4C
split-complementary
#20136A #6A4C13 #316A13
monochromatic
#08051A #100A36 #20136A #301C9E #3F26D2

Accessibility & contrast

On white

15.41
#20136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#20136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20136A
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20136A#FFFFFF#000000##FFFFFF
##20136A1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20136a;
/* rgb */ color: rgb(32, 19, 106);
/* oklch */ color: oklch(27.8% 0.140 278.9);
Tailwind
colors: {
  custom: {
    50: '#685396',
    500: '#20136a',
    950: '#000000',
  },
}
SCSS
$custom: #20136a;
$custom-light: #685396;
$custom-dark: #000000;
JSON
{
  "hex": "#20136a",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 248.966,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27772,
    "c": 0.14009,
    "h": 278.9
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#20136A
secondary
#91A138
accent
#EC3BD2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #20136A

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

Preview Lab → · Contrast checker → · Palette generator →

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