#161B47#161B47

#161B47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.082 H 273.9°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#161B47
RGBrgb(22, 27, 71)
HSLhsl(234, 53%, 18%)
HSVhsv(234, 69%, 28%)
CMYKcmyk(69%, 62%, 0%, 72.2%)
CIE-LABlab(12.02, 13.96, -28.36)
CIE-LCHlch(12.02, 31.61, 296.21°)
OKLaboklab(24.7% 0.0056 -0.0814)
OKLCHoklch(24.7% 0.082 273.9)
XYZxyz(1.8598, 1.4092, 6.1340)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B47 #474216
analogous
#163347 #161B47 #291647
triadic
#161B47 #47161B #1B4716
tetradic
#161B47 #471633 #474216 #164729
square
#161B47 #471633 #474216 #164729
split-complementary
#161B47 #472916 #334716
monochromatic
#070917 #080918 #161B47 #242D76 #333FA4

Accessibility & contrast

On white

16.38
#161B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B47
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B47#FFFFFF#000000##FFFFFF
##161B471.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161b47;
/* rgb */ color: rgb(22, 27, 71);
/* oklch */ color: oklch(24.7% 0.082 273.9);
Tailwind
colors: {
  custom: {
    50: '#59577b',
    500: '#161b47',
    950: '#000000',
  },
}
SCSS
$custom: #161b47;
$custom-light: #59577b;
$custom-dark: #000000;
JSON
{
  "hex": "#161b47",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 233.878,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24699,
    "c": 0.08163,
    "h": 273.9
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#161B47
secondary
#7E783A
accent
#CD4CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161B47

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

Preview Lab → · Contrast checker → · Palette generator →

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