#161B3D#161B3D

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

Color values

HEX#161B3D
RGBrgb(22, 27, 61)
HSLhsl(232, 47%, 16%)
HSVhsv(232, 64%, 24%)
CMYKcmyk(63.9%, 55.7%, 0%, 76.1%)
CIE-LABlab(11.21, 9.89, -22.64)
CIE-LCHlch(11.21, 24.70, 293.61°)
OKLaboklab(23.84% 0.0047 -0.0646)
OKLCHoklch(23.84% 0.065 274.1)
XYZxyz(1.5648, 1.2913, 4.5807)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B3D #3D3816
analogous
#162F3D #161B3D #25163D
triadic
#161B3D #3D161B #1B3D16
tetradic
#161B3D #3D162F #3D3816 #163D25
square
#161B3D #3D162F #3D3816 #163D25
split-complementary
#161B3D #3D2516 #2F3D16
monochromatic
#080A16 #080A16 #161B3D #262F6A #364397

Accessibility & contrast

On white

16.69
#161B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#161B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B3D
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B3D#FFFFFF#000000##FFFFFF
##161B3D1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B203E
Deuteranopia (green-blind)
#061C3C
Tritanopia (blue-blind)
#032329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161b3d;
/* rgb */ color: rgb(22, 27, 61);
/* oklch */ color: oklch(23.8% 0.065 274.1);
Tailwind
colors: {
  custom: {
    50: '#575773',
    500: '#161b3d',
    950: '#000000',
  },
}
SCSS
$custom: #161b3d;
$custom-light: #575773;
$custom-dark: #000000;
JSON
{
  "hex": "#161b3d",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 232.308,
    "s": 46.988,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23837,
    "c": 0.06477,
    "h": 274.1
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#161B3D
secondary
#746D3B
accent
#C651D7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #161B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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