#161828#161828

#161828 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.5% C 0.032 H 277.9°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#161828
RGBrgb(22, 24, 40)
HSLhsl(233, 29%, 12%)
HSVhsv(233, 45%, 16%)
CMYKcmyk(45%, 40%, 0%, 84.3%)
CIE-LABlab(8.80, 4.13, -11.22)
CIE-LCHlch(8.80, 11.96, 290.19°)
OKLaboklab(21.53% 0.0044 -0.0313)
OKLCHoklch(21.53% 0.032 277.9)
XYZxyz(1.0404, 0.9770, 2.1408)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161828 #282616
analogous
#162128 #161828 #1D1628
triadic
#161828 #281618 #182816
tetradic
#161828 #281621 #282616 #16281D
square
#161828 #281621 #282616 #16281D
split-complementary
#161828 #281D16 #212816
monochromatic
#0B0C14 #0B0C14 #161828 #2C304F #414777

Accessibility & contrast

On white

17.57
#161828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#161828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161828
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161828#FFFFFF#000000##FFFFFF
##1618281.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A29
Deuteranopia (green-blind)
#121828
Tritanopia (blue-blind)
#111B1E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #161828;
/* rgb */ color: rgb(22, 24, 40);
/* oklch */ color: oklch(21.5% 0.032 277.9);
Tailwind
colors: {
  custom: {
    50: '#545462',
    500: '#161828',
    950: '#000000',
  },
}
SCSS
$custom: #161828;
$custom-light: #545462;
$custom-dark: #000000;
JSON
{
  "hex": "#161828",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 233.333,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21531,
    "c": 0.03161,
    "h": 277.9
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#161828
secondary
#5D593D
accent
#BA62C5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020205
muted
#787879

Preview Lab

Preview with #161828

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

Preview Lab → · Contrast checker → · Palette generator →

#161828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva