#16174A#16174A

#16174A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.092 H 276.1°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#16174A
RGBrgb(22, 23, 74)
HSLhsl(239, 54%, 19%)
HSVhsv(239, 70%, 29%)
CMYKcmyk(70.3%, 68.9%, 0%, 71%)
CIE-LABlab(11.12, 18.16, -31.91)
CIE-LCHlch(11.12, 36.72, 299.65°)
OKLaboklab(24.12% 0.0098 -0.0919)
OKLCHoklch(24.12% 0.092 276.1)
XYZxyz(1.8729, 1.2776, 6.6251)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16174A #4A4916
analogous
#16314A #16174A #2F164A
triadic
#16174A #4A1617 #174A16
tetradic
#16174A #4A1631 #4A4916 #164A2F
square
#16174A #4A1631 #4A4916 #164A2F
split-complementary
#16174A #4A2F16 #314A16
monochromatic
#070718 #08081B #16174A #242679 #3234A8

Accessibility & contrast

On white

16.73
#16174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16174A
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16174A#FFFFFF#000000##FFFFFF
##16174A1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16174a;
/* rgb */ color: rgb(22, 23, 74);
/* oklch */ color: oklch(24.1% 0.092 276.1);
Tailwind
colors: {
  custom: {
    50: '#5b547d',
    500: '#16174a',
    950: '#000000',
  },
}
SCSS
$custom: #16174a;
$custom-light: #5b547d;
$custom-dark: #000000;
JSON
{
  "hex": "#16174a",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 238.846,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24117,
    "c": 0.09243,
    "h": 276.1
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16174A

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

Preview Lab → · Contrast checker → · Palette generator →

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