#16166C#16166C

#16166C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.142 H 272.2°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#16166C
RGBrgb(22, 22, 108)
HSLhsl(240, 66%, 25%)
HSVhsv(240, 80%, 42%)
CMYKcmyk(79.6%, 79.6%, 0%, 57.6%)
CIE-LABlab(14.55, 31.82, -49.13)
CIE-LCHlch(14.55, 58.54, 302.93°)
OKLaboklab(27.7% 0.0054 -0.1422)
OKLCHoklch(27.7% 0.142 272.2)
XYZxyz(3.3236, 1.8267, 14.3619)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16166C #6C6C16
analogous
#16416C #16166C #41166C
triadic
#16166C #6C1616 #166C16
tetradic
#16166C #6C1641 #6C6C16 #166C41
square
#16166C #6C1641 #6C6C16 #166C41
split-complementary
#16166C #6C4116 #416C16
monochromatic
#050519 #0C0C39 #16166C #20209F #2B2BD2

Accessibility & contrast

On white

15.38
#16166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16166C
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16166C#FFFFFF#000000##FFFFFF
##16166C1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16166c;
/* rgb */ color: rgb(22, 22, 108);
/* oklch */ color: oklch(27.7% 0.142 272.2);
Tailwind
colors: {
  custom: {
    50: '#645497',
    500: '#16166c',
    950: '#000000',
  },
}
SCSS
$custom: #16166c;
$custom-light: #645497;
$custom-dark: #000000;
JSON
{
  "hex": "#16166c",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 240,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27696,
    "c": 0.14232,
    "h": 272.2
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#16166C
secondary
#A2A23C
accent
#E93FE9
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16166C

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

Preview Lab → · Contrast checker → · Palette generator →

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