#161B4A#161B4A

#161B4A is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.087 H 273.8°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#161B4A
RGBrgb(22, 27, 74)
HSLhsl(234, 54%, 19%)
HSVhsv(234, 70%, 29%)
CMYKcmyk(70.3%, 63.5%, 0%, 71%)
CIE-LABlab(12.28, 15.19, -30.02)
CIE-LCHlch(12.28, 33.64, 296.83°)
OKLaboklab(24.98% 0.0057 -0.0863)
OKLCHoklch(24.98% 0.087 273.8)
XYZxyz(1.9584, 1.4487, 6.6537)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B4A #4A4516
analogous
#16354A #161B4A #2B164A
triadic
#161B4A #4A161B #1B4A16
tetradic
#161B4A #4A1635 #4A4516 #164A2B
square
#161B4A #4A1635 #4A4516 #164A2B
split-complementary
#161B4A #4A2B16 #354A16
monochromatic
#070918 #080A1B #161B4A #242C79 #323DA8

Accessibility & contrast

On white

16.28
#161B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B4A
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B4A#FFFFFF#000000##FFFFFF
##161B4A1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161b4a;
/* rgb */ color: rgb(22, 27, 74);
/* oklch */ color: oklch(25.0% 0.087 273.8);
Tailwind
colors: {
  custom: {
    50: '#5a577d',
    500: '#161b4a',
    950: '#000000',
  },
}
SCSS
$custom: #161b4a;
$custom-light: #5a577d;
$custom-dark: #000000;
JSON
{
  "hex": "#161b4a",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 234.231,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24975,
    "c": 0.08651,
    "h": 273.8
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#161B4A
secondary
#827B3A
accent
#CF4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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