#16166F#16166F

#16166F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.146 H 271.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#16166F
RGBrgb(22, 22, 111)
HSLhsl(240, 67%, 26%)
HSVhsv(240, 80%, 44%)
CMYKcmyk(80.2%, 80.2%, 0%, 56.5%)
CIE-LABlab(14.91, 32.90, -50.50)
CIE-LCHlch(14.91, 60.27, 303.08°)
OKLaboklab(28.06% 0.0047 -0.1462)
OKLCHoklch(28.06% 0.146 271.8)
XYZxyz(3.4861, 1.8917, 15.2173)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16166F #6F6F16
analogous
#16426F #16166F #42166F
triadic
#16166F #6F1616 #166F16
tetradic
#16166F #6F1642 #6F6F16 #166F42
square
#16166F #6F1642 #6F6F16 #166F42
split-complementary
#16166F #6F4216 #426F16
monochromatic
#05051A #0C0C3C #16166F #2020A2 #2B2BD5

Accessibility & contrast

On white

15.24
#16166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#16166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16166F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16166F#FFFFFF#000000##FFFFFF
##16166F1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16166f;
/* rgb */ color: rgb(22, 22, 111);
/* oklch */ color: oklch(28.1% 0.146 271.8);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#16166f',
    950: '#000000',
  },
}
SCSS
$custom: #16166f;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#16166f",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28055,
    "c": 0.14627,
    "h": 271.8
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#16166F
secondary
#A5A53C
accent
#EA3EEA
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #16166F

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

Preview Lab → · Contrast checker → · Palette generator →

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