#16176B#16176B

#16176B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.140 H 272.1°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#16176B
RGBrgb(22, 23, 107)
HSLhsl(239, 66%, 25%)
HSVhsv(239, 79%, 42%)
CMYKcmyk(79.4%, 78.5%, 0%, 58%)
CIE-LABlab(14.65, 30.84, -48.32)
CIE-LCHlch(14.65, 57.32, 302.55°)
OKLaboklab(27.73% 0.0051 -0.1398)
OKLCHoklch(27.73% 0.14 272.1)
XYZxyz(3.2902, 1.8446, 14.0897)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16176B #6B6A16
analogous
#16416B #16176B #3F166B
triadic
#16176B #6B1617 #176B16
tetradic
#16176B #6B1641 #6B6A16 #166B3F
square
#16176B #6B1641 #6B6A16 #166B3F
split-complementary
#16176B #6B3F16 #416B16
monochromatic
#050519 #0C0C38 #16176B #20229E #2B2DD1

Accessibility & contrast

On white

15.34
#16176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#16176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16176B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16176B#FFFFFF#000000##FFFFFF
##16176B1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16176b;
/* rgb */ color: rgb(22, 23, 107);
/* oklch */ color: oklch(27.7% 0.140 272.1);
Tailwind
colors: {
  custom: {
    50: '#645596',
    500: '#16176b',
    950: '#000000',
  },
}
SCSS
$custom: #16176b;
$custom-light: #645596;
$custom-dark: #000000;
JSON
{
  "hex": "#16176b",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 239.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27732,
    "c": 0.13994,
    "h": 272.1
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16176B

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

Preview Lab → · Contrast checker → · Palette generator →

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