#16174B#16174B

#16174B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.094 H 276.0°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#16174B
RGBrgb(22, 23, 75)
HSLhsl(239, 55%, 19%)
HSVhsv(239, 71%, 29%)
CMYKcmyk(70.7%, 69.3%, 0%, 70.6%)
CIE-LABlab(11.21, 18.56, -32.45)
CIE-LCHlch(11.21, 37.38, 299.77°)
OKLaboklab(24.22% 0.0098 -0.0935)
OKLCHoklch(24.22% 0.094 276)
XYZxyz(1.9069, 1.2912, 6.8040)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16174B #4B4A16
analogous
#16324B #16174B #30164B
triadic
#16174B #4B1617 #174B16
tetradic
#16174B #4B1632 #4B4A16 #164B30
square
#16174B #4B1632 #4B4A16 #164B30
split-complementary
#16174B #4B3016 #324B16
monochromatic
#070718 #08081C #16174B #24267A #3234AA

Accessibility & contrast

On white

16.69
#16174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16174B
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16174B#FFFFFF#000000##FFFFFF
##16174B1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #16174b;
/* rgb */ color: rgb(22, 23, 75);
/* oklch */ color: oklch(24.2% 0.094 276.0);
Tailwind
colors: {
  custom: {
    50: '#5b547e',
    500: '#16174b',
    950: '#000000',
  },
}
SCSS
$custom: #16174b;
$custom-light: #5b547e;
$custom-dark: #000000;
JSON
{
  "hex": "#16174b",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 238.868,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24217,
    "c": 0.09399,
    "h": 276
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#16174B
secondary
#83813A
accent
#DB4ADE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16174B

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

Preview Lab → · Contrast checker → · Palette generator →

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