#161B36#161B36

#161B36 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.3% C 0.052 H 273.7°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#161B36
RGBrgb(22, 27, 54)
HSLhsl(231, 42%, 15%)
HSVhsv(231, 59%, 21%)
CMYKcmyk(59.3%, 50%, 0%, 78.8%)
CIE-LABlab(10.71, 7.10, -18.45)
CIE-LCHlch(10.71, 19.77, 291.06°)
OKLaboklab(23.29% 0.0034 -0.0523)
OKLCHoklch(23.29% 0.052 273.7)
XYZxyz(1.3885, 1.2207, 3.6518)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B36 #363116
analogous
#162B36 #161B36 #211636
triadic
#161B36 #36161B #1B3616
tetradic
#161B36 #36162B #363116 #163621
square
#161B36 #36162B #363116 #163621
split-complementary
#161B36 #362116 #2B3616
monochromatic
#090B16 #090B16 #161B36 #283161 #39468D

Accessibility & contrast

On white

16.88
#161B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#161B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B36
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B36#FFFFFF#000000##FFFFFF
##161B361.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101E37
Deuteranopia (green-blind)
#0D1C35
Tritanopia (blue-blind)
#092125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161b36;
/* rgb */ color: rgb(22, 27, 54);
/* oklch */ color: oklch(23.3% 0.052 273.7);
Tailwind
colors: {
  custom: {
    50: '#56576d',
    500: '#161b36',
    950: '#000000',
  },
}
SCSS
$custom: #161b36;
$custom-light: #56576d;
$custom-dark: #000000;
JSON
{
  "hex": "#161b36",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 230.625,
    "s": 42.105,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23289,
    "c": 0.05241,
    "h": 273.7
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#161B36
secondary
#6D653B
accent
#BF56D2
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #161B36

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

Preview Lab → · Contrast checker → · Palette generator →

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