#161F3A#161F3A

#161F3A is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.6% C 0.053 H 268.4°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#161F3A
RGBrgb(22, 31, 58)
HSLhsl(225, 45%, 16%)
HSVhsv(225, 62%, 23%)
CMYKcmyk(62.1%, 46.6%, 0%, 77.3%)
CIE-LABlab(12.32, 5.63, -18.74)
CIE-LCHlch(12.32, 19.57, 286.73°)
OKLaboklab(24.62% -0.0015 -0.0531)
OKLCHoklch(24.62% 0.053 268.4)
XYZxyz(1.5843, 1.4559, 4.1997)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F3A #3A3116
analogous
#16313A #161F3A #1F163A
triadic
#161F3A #3A161F #1F3A16
tetradic
#161F3A #3A1631 #3A3116 #163A1F
square
#161F3A #3A1631 #3A3116 #163A1F
split-complementary
#161F3A #3A1F16 #313A16
monochromatic
#080C16 #080C16 #161F3A #273766 #384E93

Accessibility & contrast

On white

16.26
#161F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F3A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F3A#FFFFFF#000000##FFFFFF
##161F3A1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223B
Deuteranopia (green-blind)
#101F39
Tritanopia (blue-blind)
#052529
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161f3a;
/* rgb */ color: rgb(22, 31, 58);
/* oklch */ color: oklch(24.6% 0.053 268.4);
Tailwind
colors: {
  custom: {
    50: '#565a70',
    500: '#161f3a',
    950: '#000000',
  },
}
SCSS
$custom: #161f3a;
$custom-light: #565a70;
$custom-dark: #000000;
JSON
{
  "hex": "#161f3a",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 225,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24617,
    "c": 0.05313,
    "h": 268.4
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#161F3A
secondary
#71633B
accent
#B453D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #161F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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