#161F3B#161F3B

#161F3B is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.7% C 0.055 H 268.7°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#161F3B
RGBrgb(22, 31, 59)
HSLhsl(225, 46%, 16%)
HSVhsv(225, 63%, 23%)
CMYKcmyk(62.7%, 47.5%, 0%, 76.9%)
CIE-LABlab(12.39, 6.03, -19.34)
CIE-LCHlch(12.39, 20.26, 287.32°)
OKLaboklab(24.69% -0.0012 -0.0549)
OKLCHoklch(24.69% 0.055 268.7)
XYZxyz(1.6100, 1.4662, 4.3350)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F3B #3B3216
analogous
#16313B #161F3B #1F163B
triadic
#161F3B #3B161F #1F3B16
tetradic
#161F3B #3B1631 #3B3216 #163B1F
square
#161F3B #3B1631 #3B3216 #163B1F
split-complementary
#161F3B #3B1F16 #313B16
monochromatic
#080C16 #080C16 #161F3B #273668 #374E94

Accessibility & contrast

On white

16.24
#161F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F3B
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F3B#FFFFFF#000000##FFFFFF
##161F3B1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223C
Deuteranopia (green-blind)
#0F1F3A
Tritanopia (blue-blind)
#04252A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161f3b;
/* rgb */ color: rgb(22, 31, 59);
/* oklch */ color: oklch(24.7% 0.055 268.7);
Tailwind
colors: {
  custom: {
    50: '#565a71',
    500: '#161f3b',
    950: '#000000',
  },
}
SCSS
$custom: #161f3b;
$custom-light: #565a71;
$custom-dark: #000000;
JSON
{
  "hex": "#161f3b",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 225.405,
    "s": 45.679,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24689,
    "c": 0.05489,
    "h": 268.7
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#161F3B
secondary
#72653B
accent
#B652D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #161F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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