#20116C#20116C

#20116C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.145 H 278.8°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#20116C
RGBrgb(32, 17, 108)
HSLhsl(250, 73%, 25%)
HSVhsv(250, 84%, 42%)
CMYKcmyk(70.4%, 84.3%, 0%, 57.6%)
CIE-LABlab(14.35, 35.57, -49.45)
CIE-LCHlch(14.35, 60.91, 305.73°)
OKLaboklab(27.75% 0.0221 -0.1428)
OKLCHoklch(27.75% 0.145 278.8)
XYZxyz(3.5020, 1.7904, 14.3455)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20116C #5D6C11
analogous
#11306C #20116C #4E116C
triadic
#20116C #6C2011 #116C20
tetradic
#20116C #6C1130 #5D6C11 #116C4E
square
#20116C #6C1130 #5D6C11 #116C4E
split-complementary
#20116C #6C4E11 #306C11
monochromatic
#08041A #100937 #20116C #3019A1 #3F22D6

Accessibility & contrast

On white

15.46
#20116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20116C
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20116C#FFFFFF#000000##FFFFFF
##20116C1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20116c;
/* rgb */ color: rgb(32, 17, 108);
/* oklch */ color: oklch(27.8% 0.145 278.8);
Tailwind
colors: {
  custom: {
    50: '#685297',
    500: '#20116c',
    950: '#000000',
  },
}
SCSS
$custom: #20116c;
$custom-light: #685297;
$custom-dark: #000000;
JSON
{
  "hex": "#20116c",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 249.89,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27753,
    "c": 0.14451,
    "h": 278.8
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#20116C
secondary
#91A435
accent
#EF38D1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #20116C

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

Preview Lab → · Contrast checker → · Palette generator →

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