#161F2E#161F2E

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

Color values

HEX#161F2E
RGBrgb(22, 31, 46)
HSLhsl(218, 35%, 13%)
HSVhsv(218, 52%, 18%)
CMYKcmyk(52.2%, 32.6%, 0%, 82%)
CIE-LABlab(11.61, 1.01, -11.26)
CIE-LCHlch(11.61, 11.31, 275.12°)
OKLaboklab(23.82% -0.0053 -0.0314)
OKLCHoklch(23.82% 0.032 260.4)
XYZxyz(1.3138, 1.3477, 2.7751)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F2E #2E2516
analogous
#162B2E #161F2E #19162E
triadic
#161F2E #2E161F #1F2E16
tetradic
#161F2E #2E162B #2E2516 #162E19
square
#161F2E #2E162B #2E2516 #162E19
split-complementary
#161F2E #2E1916 #2B2E16
monochromatic
#0A0E15 #0A0E15 #161F2E #2A3B57 #3E5781

Accessibility & contrast

On white

16.54
#161F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F2E
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F2E#FFFFFF#000000##FFFFFF
##161F2E1.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)
#1A202F
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#0D2224
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161f2e;
/* rgb */ color: rgb(22, 31, 46);
/* oklch */ color: oklch(23.8% 0.032 260.4);
Tailwind
colors: {
  custom: {
    50: '#545a66',
    500: '#161f2e',
    950: '#000000',
  },
}
SCSS
$custom: #161f2e;
$custom-light: #545a66;
$custom-dark: #000000;
JSON
{
  "hex": "#161f2e",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 217.5,
    "s": 35.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23822,
    "c": 0.03186,
    "h": 260.4
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#161F2E
secondary
#64553C
accent
#A25CCB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #161F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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