#161B37#161B37

#161B37 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.4% C 0.054 H 273.8°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#161B37
RGBrgb(22, 27, 55)
HSLhsl(231, 43%, 15%)
HSVhsv(231, 60%, 22%)
CMYKcmyk(60%, 50.9%, 0%, 78.4%)
CIE-LABlab(10.78, 7.50, -19.06)
CIE-LCHlch(10.78, 20.48, 291.47°)
OKLaboklab(23.36% 0.0036 -0.0541)
OKLCHoklch(23.36% 0.054 273.8)
XYZxyz(1.4122, 1.2302, 3.7767)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B37 #373216
analogous
#162B37 #161B37 #211637
triadic
#161B37 #37161B #1B3716
tetradic
#161B37 #37162B #373216 #163721
square
#161B37 #37162B #373216 #163721
split-complementary
#161B37 #372116 #2B3716
monochromatic
#090B16 #090B16 #161B37 #273063 #39468E

Accessibility & contrast

On white

16.85
#161B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#161B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B37
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B37#FFFFFF#000000##FFFFFF
##161B371.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E38
Deuteranopia (green-blind)
#0C1C36
Tritanopia (blue-blind)
#082126
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161b37;
/* rgb */ color: rgb(22, 27, 55);
/* oklch */ color: oklch(23.4% 0.054 273.8);
Tailwind
colors: {
  custom: {
    50: '#56576e',
    500: '#161b37',
    950: '#000000',
  },
}
SCSS
$custom: #161b37;
$custom-light: #56576e;
$custom-dark: #000000;
JSON
{
  "hex": "#161b37",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 230.909,
    "s": 42.857,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23364,
    "c": 0.0542,
    "h": 273.8
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#161B37
secondary
#6E663B
accent
#C055D3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #161B37

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

Preview Lab → · Contrast checker → · Palette generator →

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