#16176D#16176D

#16176D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.143 H 271.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#16176D
RGBrgb(22, 23, 109)
HSLhsl(239, 66%, 26%)
HSVhsv(239, 80%, 43%)
CMYKcmyk(79.8%, 78.9%, 0%, 57.3%)
CIE-LABlab(14.88, 31.58, -49.24)
CIE-LCHlch(14.88, 58.49, 302.67°)
OKLaboklab(27.97% 0.0047 -0.1425)
OKLCHoklch(27.97% 0.143 271.9)
XYZxyz(3.3967, 1.8871, 14.6503)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16176D #6D6C16
analogous
#16426D #16176D #40166D
triadic
#16176D #6D1617 #176D16
tetradic
#16176D #6D1642 #6D6C16 #166D40
square
#16176D #6D1642 #6D6C16 #166D40
split-complementary
#16176D #6D4016 #426D16
monochromatic
#050519 #0C0C3A #16176D #2022A0 #2B2CD3

Accessibility & contrast

On white

15.25
#16176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#16176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16176D
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16176D#FFFFFF#000000##FFFFFF
##16176D1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16176d;
/* rgb */ color: rgb(22, 23, 109);
/* oklch */ color: oklch(28.0% 0.143 271.9);
Tailwind
colors: {
  custom: {
    50: '#645598',
    500: '#16176d',
    950: '#000000',
  },
}
SCSS
$custom: #16176d;
$custom-light: #645598;
$custom-dark: #000000;
JSON
{
  "hex": "#16176d",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 239.31,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27967,
    "c": 0.14261,
    "h": 271.9
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#16176D
secondary
#A3A23C
accent
#E73EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16176D

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

Preview Lab → · Contrast checker → · Palette generator →

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