#161F2D#161F2D

#161F2D is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.8% C 0.030 H 259.1°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#161F2D
RGBrgb(22, 31, 45)
HSLhsl(217, 34%, 13%)
HSVhsv(217, 51%, 18%)
CMYKcmyk(51.1%, 31.1%, 0%, 82.4%)
CIE-LABlab(11.55, 0.65, -10.62)
CIE-LCHlch(11.55, 10.64, 273.48°)
OKLaboklab(23.76% -0.0057 -0.0296)
OKLCHoklch(23.76% 0.03 259.1)
XYZxyz(1.2944, 1.3399, 2.6725)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F2D #2D2416
analogous
#162A2D #161F2D #18162D
triadic
#161F2D #2D161F #1F2D16
tetradic
#161F2D #2D162A #2D2416 #162D18
square
#161F2D #2D162A #2D2416 #162D18
split-complementary
#161F2D #2D1816 #2A2D16
monochromatic
#0A0E15 #0A0E15 #161F2D #2A3B56 #3E587F

Accessibility & contrast

On white

16.56
#161F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F2D
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F2D#FFFFFF#000000##FFFFFF
##161F2D1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202E
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#0E2224
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161f2d;
/* rgb */ color: rgb(22, 31, 45);
/* oklch */ color: oklch(23.8% 0.030 259.1);
Tailwind
colors: {
  custom: {
    50: '#545a66',
    500: '#161f2d',
    950: '#000000',
  },
}
SCSS
$custom: #161f2d;
$custom-light: #545a66;
$custom-dark: #000000;
JSON
{
  "hex": "#161f2d",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 216.522,
    "s": 34.328,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23763,
    "c": 0.03012,
    "h": 259.1
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#161F2D
secondary
#62543C
accent
#A05DCA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030305
muted
#78787A

Preview Lab

Preview with #161F2D

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

Preview Lab → · Contrast checker → · Palette generator →

#161F2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva