#16174F#16174F

#16174F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.100 H 275.4°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#16174F
RGBrgb(22, 23, 79)
HSLhsl(239, 56%, 20%)
HSVhsv(239, 72%, 31%)
CMYKcmyk(72.2%, 70.9%, 0%, 69%)
CIE-LABlab(11.61, 20.15, -34.56)
CIE-LCHlch(11.61, 40.01, 300.24°)
OKLaboklab(24.62% 0.0094 -0.0997)
OKLCHoklch(24.62% 0.1 275.4)
XYZxyz(2.0481, 1.3477, 7.5478)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16174F #4F4E16
analogous
#16344F #16174F #31164F
triadic
#16174F #4F1617 #174F16
tetradic
#16174F #4F1634 #4F4E16 #164F31
square
#16174F #4F1634 #4F4E16 #164F31
split-complementary
#16174F #4F3116 #344F16
monochromatic
#070718 #09091F #16174F #23257F #3133AF

Accessibility & contrast

On white

16.54
#16174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16174F
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16174F#FFFFFF#000000##FFFFFF
##16174F1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #16174f;
/* rgb */ color: rgb(22, 23, 79);
/* oklch */ color: oklch(24.6% 0.100 275.4);
Tailwind
colors: {
  custom: {
    50: '#5c5481',
    500: '#16174f',
    950: '#000000',
  },
}
SCSS
$custom: #16174f;
$custom-light: #5c5481;
$custom-dark: #000000;
JSON
{
  "hex": "#16174f",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 238.947,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24624,
    "c": 0.10014,
    "h": 275.4
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#16174F
secondary
#86853A
accent
#DD48E0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16174F

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

Preview Lab → · Contrast checker → · Palette generator →

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