#161B3B#161B3B

#161B3B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.061 H 274.1°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#161B3B
RGBrgb(22, 27, 59)
HSLhsl(232, 46%, 16%)
HSVhsv(232, 63%, 23%)
CMYKcmyk(62.7%, 54.2%, 0%, 76.9%)
CIE-LABlab(11.06, 9.09, -21.46)
CIE-LCHlch(11.06, 23.30, 292.96°)
OKLaboklab(23.67% 0.0044 -0.0611)
OKLCHoklch(23.67% 0.061 274.1)
XYZxyz(1.5120, 1.2701, 4.3023)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B3B #3B3616
analogous
#162D3B #161B3B #23163B
triadic
#161B3B #3B161B #1B3B16
tetradic
#161B3B #3B162D #3B3616 #163B23
square
#161B3B #3B162D #3B3616 #163B23
split-complementary
#161B3B #3B2316 #2D3B16
monochromatic
#080A16 #080A16 #161B3B #272F68 #374494

Accessibility & contrast

On white

16.75
#161B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B3B
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B3B#FFFFFF#000000##FFFFFF
##161B3B1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1F3C
Deuteranopia (green-blind)
#081C3A
Tritanopia (blue-blind)
#052228
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161b3b;
/* rgb */ color: rgb(22, 27, 59);
/* oklch */ color: oklch(23.7% 0.061 274.1);
Tailwind
colors: {
  custom: {
    50: '#575771',
    500: '#161b3b',
    950: '#000000',
  },
}
SCSS
$custom: #161b3b;
$custom-light: #575771;
$custom-dark: #000000;
JSON
{
  "hex": "#161b3b",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 59
  },
  "hsl": {
    "h": 231.892,
    "s": 45.679,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23675,
    "c": 0.06129,
    "h": 274.1
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#161B3B
secondary
#726B3B
accent
#C452D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #161B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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