#16117E#16117E

#16117E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.169 H 270.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#16117E
RGBrgb(22, 17, 126)
HSLhsl(243, 76%, 28%)
HSVhsv(243, 87%, 49%)
CMYKcmyk(82.5%, 86.5%, 0%, 50.6%)
CIE-LABlab(15.89, 40.66, -58.54)
CIE-LCHlch(15.89, 71.27, 304.78°)
OKLaboklab(29.29% 0.0027 -0.1694)
OKLCHoklch(29.29% 0.169 270.9)
XYZxyz(4.2959, 2.0773, 19.9092)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16117E #797E11
analogous
#11437E #16117E #4C117E
triadic
#16117E #7E1611 #117E16
tetradic
#16117E #7E1143 #797E11 #117E4C
square
#16117E #7E1143 #797E11 #117E4C
split-complementary
#16117E #7E4C11 #437E11
monochromatic
#05041B #0D0A48 #16117E #1F18B4 #3027E2

Accessibility & contrast

On white

14.83
#16117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#16117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16117E
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16117E#FFFFFF#000000##FFFFFF
##16117E1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16117e;
/* rgb */ color: rgb(22, 17, 126);
/* oklch */ color: oklch(29.3% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a53a5',
    500: '#16117e',
    950: '#000000',
  },
}
SCSS
$custom: #16117e;
$custom-light: #6a53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16117e",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 242.752,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29285,
    "c": 0.16941,
    "h": 270.9
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#16117E
secondary
#AEB437
accent
#F335EA
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16117E

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

Preview Lab → · Contrast checker → · Palette generator →

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