#16166A#16166A

#16166A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.140 H 272.4°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#16166A
RGBrgb(22, 22, 106)
HSLhsl(240, 66%, 25%)
HSVhsv(240, 79%, 42%)
CMYKcmyk(79.2%, 79.2%, 0%, 58.4%)
CIE-LABlab(14.31, 31.09, -48.22)
CIE-LCHlch(14.31, 57.37, 302.82°)
OKLaboklab(27.46% 0.0058 -0.1395)
OKLCHoklch(27.46% 0.14 272.4)
XYZxyz(3.2184, 1.7847, 13.8077)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16166A #6A6A16
analogous
#16406A #16166A #40166A
triadic
#16166A #6A1616 #166A16
tetradic
#16166A #6A1640 #6A6A16 #166A40
square
#16166A #6A1640 #6A6A16 #166A40
split-complementary
#16166A #6A4016 #406A16
monochromatic
#050519 #0B0B37 #16166A #21219D #2B2BCF

Accessibility & contrast

On white

15.48
#16166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#16166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16166A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16166A#FFFFFF#000000##FFFFFF
##16166A1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #16166a;
/* rgb */ color: rgb(22, 22, 106);
/* oklch */ color: oklch(27.5% 0.140 272.4);
Tailwind
colors: {
  custom: {
    50: '#635496',
    500: '#16166a',
    950: '#000000',
  },
}
SCSS
$custom: #16166a;
$custom-light: #635496;
$custom-dark: #000000;
JSON
{
  "hex": "#16166a",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27459,
    "c": 0.13967,
    "h": 272.4
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#16166A
secondary
#A0A03B
accent
#E93FE9
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #16166A

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

Preview Lab → · Contrast checker → · Palette generator →

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