#16174E#16174E

#16174E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.099 H 275.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#16174E
RGBrgb(22, 23, 78)
HSLhsl(239, 56%, 20%)
HSVhsv(239, 72%, 31%)
CMYKcmyk(71.8%, 70.5%, 0%, 69.4%)
CIE-LABlab(11.51, 19.75, -34.04)
CIE-LCHlch(11.51, 39.35, 300.13°)
OKLaboklab(24.52% 0.0095 -0.0981)
OKLCHoklch(24.52% 0.099 275.5)
XYZxyz(2.0120, 1.3333, 7.3576)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16174E #4E4D16
analogous
#16334E #16174E #31164E
triadic
#16174E #4E1617 #174E16
tetradic
#16174E #4E1633 #4E4D16 #164E31
square
#16174E #4E1633 #4E4D16 #164E31
split-complementary
#16174E #4E3116 #334E16
monochromatic
#070718 #09091E #16174E #23257E #3133AD

Accessibility & contrast

On white

16.58
#16174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#16174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16174E
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16174E#FFFFFF#000000##FFFFFF
##16174E1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #16174e;
/* rgb */ color: rgb(22, 23, 78);
/* oklch */ color: oklch(24.5% 0.099 275.5);
Tailwind
colors: {
  custom: {
    50: '#5c5480',
    500: '#16174e',
    950: '#000000',
  },
}
SCSS
$custom: #16174e;
$custom-light: #5c5480;
$custom-dark: #000000;
JSON
{
  "hex": "#16174e",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 238.929,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24521,
    "c": 0.09861,
    "h": 275.5
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#16174E
secondary
#85843A
accent
#DD49DF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16174E

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

Preview Lab → · Contrast checker → · Palette generator →

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