#16166E#16166E

#16166E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.145 H 271.9°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#16166E
RGBrgb(22, 22, 110)
HSLhsl(240, 67%, 26%)
HSVhsv(240, 80%, 43%)
CMYKcmyk(80%, 80%, 0%, 56.9%)
CIE-LABlab(14.79, 32.54, -50.05)
CIE-LCHlch(14.79, 59.70, 303.03°)
OKLaboklab(27.94% 0.0049 -0.1449)
OKLCHoklch(27.94% 0.145 271.9)
XYZxyz(3.4313, 1.8698, 14.9289)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16166E #6E6E16
analogous
#16426E #16166E #42166E
triadic
#16166E #6E1616 #166E16
tetradic
#16166E #6E1642 #6E6E16 #166E42
square
#16166E #6E1642 #6E6E16 #166E42
split-complementary
#16166E #6E4216 #426E16
monochromatic
#05051A #0C0C3B #16166E #2020A1 #2A2AD4

Accessibility & contrast

On white

15.28
#16166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16166E
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16166E#FFFFFF#000000##FFFFFF
##16166E1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16166e;
/* rgb */ color: rgb(22, 22, 110);
/* oklch */ color: oklch(27.9% 0.145 271.9);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#16166e',
    950: '#000000',
  },
}
SCSS
$custom: #16166e;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#16166e",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27935,
    "c": 0.14495,
    "h": 271.9
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#16166E
secondary
#A4A43C
accent
#EA3EEA
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16166E

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

Preview Lab → · Contrast checker → · Palette generator →

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