#20116F#20116F

#20116F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.148 H 278.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#20116F
RGBrgb(32, 17, 111)
HSLhsl(250, 73%, 25%)
HSVhsv(250, 85%, 44%)
CMYKcmyk(71.2%, 84.7%, 0%, 56.5%)
CIE-LABlab(14.71, 36.54, -50.81)
CIE-LCHlch(14.71, 62.58, 305.73°)
OKLaboklab(28.11% 0.0212 -0.1468)
OKLCHoklch(28.11% 0.148 278.2)
XYZxyz(3.6644, 1.8554, 15.2009)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20116F #606F11
analogous
#11316F #20116F #4F116F
triadic
#20116F #6F2011 #116F20
tetradic
#20116F #6F1131 #606F11 #116F4F
square
#20116F #6F1131 #606F11 #116F4F
split-complementary
#20116F #6F4F11 #316F11
monochromatic
#08041B #11093A #20116F #2F19A4 #3F21D9

Accessibility & contrast

On white

15.32
#20116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#20116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20116F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20116F#FFFFFF#000000##FFFFFF
##20116F1.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)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20116f;
/* rgb */ color: rgb(32, 17, 111);
/* oklch */ color: oklch(28.1% 0.148 278.2);
Tailwind
colors: {
  custom: {
    50: '#695299',
    500: '#20116f',
    950: '#000000',
  },
}
SCSS
$custom: #20116f;
$custom-light: #695299;
$custom-dark: #000000;
JSON
{
  "hex": "#20116f",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 249.574,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28111,
    "c": 0.14828,
    "h": 278.2
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#20116F
secondary
#94A635
accent
#F038D3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #20116F

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

Preview Lab → · Contrast checker → · Palette generator →

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