#161F36#161F36

#161F36 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.3% C 0.046 H 266.8°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#161F36
RGBrgb(22, 31, 54)
HSLhsl(223, 42%, 15%)
HSVhsv(223, 59%, 21%)
CMYKcmyk(59.3%, 42.6%, 0%, 78.8%)
CIE-LABlab(12.07, 4.05, -16.29)
CIE-LCHlch(12.07, 16.79, 283.96°)
OKLaboklab(24.34% -0.0026 -0.046)
OKLCHoklch(24.34% 0.046 266.8)
XYZxyz(1.4865, 1.4168, 3.6844)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F36 #362D16
analogous
#162F36 #161F36 #1D1636
triadic
#161F36 #36161F #1F3616
tetradic
#161F36 #36162F #362D16 #16361D
square
#161F36 #36162F #362D16 #16361D
split-complementary
#161F36 #361D16 #2F3616
monochromatic
#090C16 #090C16 #161F36 #283861 #39518D

Accessibility & contrast

On white

16.36
#161F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F36
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F36#FFFFFF#000000##FFFFFF
##161F361.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#131E35
Tritanopia (blue-blind)
#082427
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161f36;
/* rgb */ color: rgb(22, 31, 54);
/* oklch */ color: oklch(24.3% 0.046 266.8);
Tailwind
colors: {
  custom: {
    50: '#565a6d',
    500: '#161f36',
    950: '#000000',
  },
}
SCSS
$custom: #161f36;
$custom-light: #565a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#161f36",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 223.125,
    "s": 42.105,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24335,
    "c": 0.04605,
    "h": 266.8
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#161F36
secondary
#6D5F3B
accent
#AF56D2
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #161F36

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

Preview Lab → · Contrast checker → · Palette generator →

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