#16176A#16176A

#16176A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.139 H 272.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#16176A
RGBrgb(22, 23, 106)
HSLhsl(239, 66%, 25%)
HSVhsv(239, 79%, 42%)
CMYKcmyk(79.2%, 78.3%, 0%, 58.4%)
CIE-LABlab(14.53, 30.48, -47.85)
CIE-LCHlch(14.53, 56.74, 302.49°)
OKLaboklab(27.62% 0.0053 -0.1385)
OKLCHoklch(27.62% 0.139 272.2)
XYZxyz(3.2379, 1.8236, 13.8142)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16176A #6A6916
analogous
#16416A #16176A #3F166A
triadic
#16176A #6A1617 #176A16
tetradic
#16176A #6A1641 #6A6916 #166A3F
square
#16176A #6A1641 #6A6916 #166A3F
split-complementary
#16176A #6A3F16 #416A16
monochromatic
#050519 #0B0C37 #16176A #21229D #2B2DCF

Accessibility & contrast

On white

15.39
#16176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16176A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16176A#FFFFFF#000000##FFFFFF
##16176A1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16176a;
/* rgb */ color: rgb(22, 23, 106);
/* oklch */ color: oklch(27.6% 0.139 272.2);
Tailwind
colors: {
  custom: {
    50: '#635596',
    500: '#16176a',
    950: '#000000',
  },
}
SCSS
$custom: #16176a;
$custom-light: #635596;
$custom-dark: #000000;
JSON
{
  "hex": "#16176a",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 239.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27615,
    "c": 0.13861,
    "h": 272.2
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#16176A
secondary
#A09F3B
accent
#E73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #16176A

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

Preview Lab → · Contrast checker → · Palette generator →

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