#16117C#16117C

#16117C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.0% C 0.167 H 271.1°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#16117C
RGBrgb(22, 17, 124)
HSLhsl(243, 76%, 28%)
HSVhsv(243, 86%, 49%)
CMYKcmyk(82.3%, 86.3%, 0%, 51.4%)
CIE-LABlab(15.62, 40.01, -57.70)
CIE-LCHlch(15.62, 70.21, 304.74°)
OKLaboklab(29.03% 0.0032 -0.167)
OKLCHoklch(29.03% 0.167 271.1)
XYZxyz(4.1682, 2.0262, 19.2363)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16117C #777C11
analogous
#11417C #16117C #4C117C
triadic
#16117C #7C1611 #117C16
tetradic
#16117C #7C1141 #777C11 #117C4C
square
#16117C #7C1141 #777C11 #117C4C
split-complementary
#16117C #7C4C11 #417C11
monochromatic
#05041B #0C0A46 #16117C #2018B2 #2F26E1

Accessibility & contrast

On white

14.94
#16117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#16117C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16117C
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16117C#FFFFFF#000000##FFFFFF
##16117C1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7F
Deuteranopia (green-blind)
#00217A
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16117c;
/* rgb */ color: rgb(22, 17, 124);
/* oklch */ color: oklch(29.0% 0.167 271.1);
Tailwind
colors: {
  custom: {
    50: '#6953a3',
    500: '#16117c',
    950: '#000000',
  },
}
SCSS
$custom: #16117c;
$custom-light: #6953a3;
$custom-dark: #000000;
JSON
{
  "hex": "#16117c",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 242.804,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29028,
    "c": 0.16699,
    "h": 271.1
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#16117C
secondary
#ACB237
accent
#F235EA
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16117C

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

Preview Lab → · Contrast checker → · Palette generator →

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