#20136F#20136F

#20136F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.146 H 277.9°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#20136F
RGBrgb(32, 19, 111)
HSLhsl(248, 71%, 25%)
HSVhsv(248, 83%, 44%)
CMYKcmyk(71.2%, 82.9%, 0%, 56.5%)
CIE-LABlab(15.06, 35.52, -50.22)
CIE-LCHlch(15.06, 61.51, 305.27°)
OKLaboklab(28.36% 0.0202 -0.1451)
OKLCHoklch(28.36% 0.146 277.9)
XYZxyz(3.6969, 1.9202, 15.2117)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20136F #626F13
analogous
#13346F #20136F #4E136F
triadic
#20136F #6F2013 #136F20
tetradic
#20136F #6F1334 #626F13 #136F4E
square
#20136F #6F1334 #626F13 #136F4E
split-complementary
#20136F #6F4E13 #346F13
monochromatic
#08041A #110A3B #20136F #2F1CA3 #3E25D8

Accessibility & contrast

On white

15.17
#20136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20136F
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20136F#FFFFFF#000000##FFFFFF
##20136F1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #20136f;
/* rgb */ color: rgb(32, 19, 111);
/* oklch */ color: oklch(28.4% 0.146 277.9);
Tailwind
colors: {
  custom: {
    50: '#695499',
    500: '#20136f',
    950: '#000000',
  },
}
SCSS
$custom: #20136f;
$custom-light: #695499;
$custom-dark: #000000;
JSON
{
  "hex": "#20136f",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 248.478,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28356,
    "c": 0.14648,
    "h": 277.9
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#20136F
secondary
#96A638
accent
#EE3AD4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20136F

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

Preview Lab → · Contrast checker → · Palette generator →

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