#161166#161166

#161166 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.139 H 273.7°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#161166
RGBrgb(22, 17, 102)
HSLhsl(244, 71%, 23%)
HSVhsv(244, 83%, 40%)
CMYKcmyk(78.4%, 83.3%, 0%, 60%)
CIE-LABlab(12.80, 32.61, -48.09)
CIE-LCHlch(12.80, 58.10, 304.15°)
OKLaboklab(26.25% 0.0089 -0.1391)
OKLCHoklch(26.25% 0.139 273.7)
XYZxyz(2.9288, 1.5305, 12.7089)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161166 #616611
analogous
#113666 #161166 #401166
triadic
#161166 #661611 #116616
tetradic
#161166 #661136 #616611 #116640
square
#161166 #661136 #616611 #116640
split-complementary
#161166 #664011 #366611
monochromatic
#06041A #0B0832 #161166 #211A9A #2D22CF

Accessibility & contrast

On white

16.08
#161166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161166
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161166#FFFFFF#000000##FFFFFF
##1611661.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161166;
/* rgb */ color: rgb(22, 17, 102);
/* oklch */ color: oklch(26.3% 0.139 273.7);
Tailwind
colors: {
  custom: {
    50: '#635193',
    500: '#161166',
    950: '#000000',
  },
}
SCSS
$custom: #161166;
$custom-light: #635193;
$custom-dark: #000000;
JSON
{
  "hex": "#161166",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 243.529,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26252,
    "c": 0.13939,
    "h": 273.7
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#161166
secondary
#989E35
accent
#EE3AE4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161166

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

Preview Lab → · Contrast checker → · Palette generator →

#161166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva