#16174C#16174C

#16174C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.096 H 275.8°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#16174C
RGBrgb(22, 23, 76)
HSLhsl(239, 55%, 19%)
HSVhsv(239, 71%, 30%)
CMYKcmyk(71.1%, 69.7%, 0%, 70.2%)
CIE-LABlab(11.31, 18.96, -32.98)
CIE-LCHlch(11.31, 38.04, 299.89°)
OKLaboklab(24.32% 0.0097 -0.095)
OKLCHoklch(24.32% 0.096 275.8)
XYZxyz(1.9414, 1.3050, 6.9857)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16174C #4C4B16
analogous
#16324C #16174C #30164C
triadic
#16174C #4C1617 #174C16
tetradic
#16174C #4C1632 #4C4B16 #164C30
square
#16174C #4C1632 #4C4B16 #164C30
split-complementary
#16174C #4C3016 #324C16
monochromatic
#070718 #08091D #16174C #24257B #3134AB

Accessibility & contrast

On white

16.65
#16174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#16174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16174C
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16174C#FFFFFF#000000##FFFFFF
##16174C1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #16174c;
/* rgb */ color: rgb(22, 23, 76);
/* oklch */ color: oklch(24.3% 0.096 275.8);
Tailwind
colors: {
  custom: {
    50: '#5b547f',
    500: '#16174c',
    950: '#000000',
  },
}
SCSS
$custom: #16174c;
$custom-light: #5b547f;
$custom-dark: #000000;
JSON
{
  "hex": "#16174c",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 238.889,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24318,
    "c": 0.09554,
    "h": 275.8
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#16174C
secondary
#84823A
accent
#DC49DE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16174C

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

Preview Lab → · Contrast checker → · Palette generator →

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