#161A28#161A28

#161A28 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.1% C 0.028 H 271.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#161A28
RGBrgb(22, 26, 40)
HSLhsl(227, 29%, 12%)
HSVhsv(227, 45%, 16%)
CMYKcmyk(45%, 35%, 0%, 84.3%)
CIE-LABlab(9.50, 2.60, -10.13)
CIE-LCHlch(9.50, 10.46, 284.38°)
OKLaboklab(22.08% 0.0008 -0.0282)
OKLCHoklch(22.08% 0.028 271.7)
XYZxyz(1.0832, 1.0625, 2.1551)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A28 #282416
analogous
#162328 #161A28 #1B1628
triadic
#161A28 #28161A #1A2816
tetradic
#161A28 #281623 #282416 #16281B
square
#161A28 #281623 #282416 #16281B
split-complementary
#161A28 #281B16 #232816
monochromatic
#0B0D14 #0B0D14 #161A28 #2C344F #414D77

Accessibility & contrast

On white

17.32
#161A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#161A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A28
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A28#FFFFFF#000000##FFFFFF
##161A281.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#141A28
Tritanopia (blue-blind)
#111D1F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #161a28;
/* rgb */ color: rgb(22, 26, 40);
/* oklch */ color: oklch(22.1% 0.028 271.7);
Tailwind
colors: {
  custom: {
    50: '#545662',
    500: '#161a28',
    950: '#000000',
  },
}
SCSS
$custom: #161a28;
$custom-light: #545662;
$custom-dark: #000000;
JSON
{
  "hex": "#161a28",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 226.667,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22076,
    "c": 0.02817,
    "h": 271.7
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#161A28
secondary
#5D563D
accent
#AF62C5
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#020305
muted
#787879

Preview Lab

Preview with #161A28

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

Preview Lab → · Contrast checker → · Palette generator →

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