#16166D#16166D

#16166D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.144 H 272.1°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#16166D
RGBrgb(22, 22, 109)
HSLhsl(240, 66%, 26%)
HSVhsv(240, 80%, 43%)
CMYKcmyk(79.8%, 79.8%, 0%, 57.3%)
CIE-LABlab(14.67, 32.18, -49.59)
CIE-LCHlch(14.67, 59.12, 302.98°)
OKLaboklab(27.82% 0.0051 -0.1435)
OKLCHoklch(27.82% 0.144 272.1)
XYZxyz(3.3772, 1.8482, 14.6438)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16166D #6D6D16
analogous
#16416D #16166D #41166D
triadic
#16166D #6D1616 #166D16
tetradic
#16166D #6D1641 #6D6D16 #166D41
square
#16166D #6D1641 #6D6D16 #166D41
split-complementary
#16166D #6D4116 #416D16
monochromatic
#050519 #0C0C3A #16166D #2020A0 #2B2BD3

Accessibility & contrast

On white

15.33
#16166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#16166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16166D
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16166D#FFFFFF#000000##FFFFFF
##16166D1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16166d;
/* rgb */ color: rgb(22, 22, 109);
/* oklch */ color: oklch(27.8% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#645598',
    500: '#16166d',
    950: '#000000',
  },
}
SCSS
$custom: #16166d;
$custom-light: #645598;
$custom-dark: #000000;
JSON
{
  "hex": "#16166d",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27816,
    "c": 0.14364,
    "h": 272.1
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#16166D
secondary
#A3A33C
accent
#E93EE9
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16166D

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

Preview Lab → · Contrast checker → · Palette generator →

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