#20116D#20116D

#20116D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.146 H 278.6°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#20116D
RGBrgb(32, 17, 109)
HSLhsl(250, 73%, 25%)
HSVhsv(250, 84%, 43%)
CMYKcmyk(70.6%, 84.4%, 0%, 57.3%)
CIE-LABlab(14.47, 35.90, -49.90)
CIE-LCHlch(14.47, 61.47, 305.73°)
OKLaboklab(27.87% 0.0218 -0.1441)
OKLCHoklch(27.87% 0.146 278.6)
XYZxyz(3.5555, 1.8118, 14.6274)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20116D #5E6D11
analogous
#11306D #20116D #4E116D
triadic
#20116D #6D2011 #116D20
tetradic
#20116D #6D1130 #5E6D11 #116D4E
square
#20116D #6D1130 #5E6D11 #116D4E
split-complementary
#20116D #6D4E11 #306D11
monochromatic
#08041A #100938 #20116D #3019A2 #3F22D7

Accessibility & contrast

On white

15.41
#20116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#20116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20116D
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20116D#FFFFFF#000000##FFFFFF
##20116D1.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)
#002870
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20116d;
/* rgb */ color: rgb(32, 17, 109);
/* oklch */ color: oklch(27.9% 0.146 278.6);
Tailwind
colors: {
  custom: {
    50: '#695298',
    500: '#20116d',
    950: '#000000',
  },
}
SCSS
$custom: #20116d;
$custom-light: #695298;
$custom-dark: #000000;
JSON
{
  "hex": "#20116d",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 249.783,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27872,
    "c": 0.14577,
    "h": 278.6
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#20116D
secondary
#92A535
accent
#F038D2
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #20116D

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

Preview Lab → · Contrast checker → · Palette generator →

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