#161F3D#161F3D

#161F3D is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.8% C 0.058 H 269.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#161F3D
RGBrgb(22, 31, 61)
HSLhsl(226, 47%, 16%)
HSVhsv(226, 64%, 24%)
CMYKcmyk(63.9%, 49.2%, 0%, 76.1%)
CIE-LABlab(12.53, 6.84, -20.54)
CIE-LCHlch(12.53, 21.65, 288.42°)
OKLaboklab(24.84% -0.0008 -0.0584)
OKLCHoklch(24.84% 0.058 269.3)
XYZxyz(1.6629, 1.4873, 4.6134)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F3D #3D3416
analogous
#16333D #161F3D #21163D
triadic
#161F3D #3D161F #1F3D16
tetradic
#161F3D #3D1633 #3D3416 #163D21
square
#161F3D #3D1633 #3D3416 #163D21
split-complementary
#161F3D #3D2116 #333D16
monochromatic
#080B16 #080B16 #161F3D #26366A #364D97

Accessibility & contrast

On white

16.19
#161F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F3D
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F3D#FFFFFF#000000##FFFFFF
##161F3D1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223E
Deuteranopia (green-blind)
#0D1F3C
Tritanopia (blue-blind)
#02262B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161f3d;
/* rgb */ color: rgb(22, 31, 61);
/* oklch */ color: oklch(24.8% 0.058 269.3);
Tailwind
colors: {
  custom: {
    50: '#575a72',
    500: '#161f3d',
    950: '#000000',
  },
}
SCSS
$custom: #161f3d;
$custom-light: #575a72;
$custom-dark: #000000;
JSON
{
  "hex": "#161f3d",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 226.154,
    "s": 46.988,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24838,
    "c": 0.05839,
    "h": 269.3
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#161F3D
secondary
#74673B
accent
#B851D7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #161F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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