#161B48#161B48

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

Color values

HEX#161B48
RGBrgb(22, 27, 72)
HSLhsl(234, 53%, 18%)
HSVhsv(234, 69%, 28%)
CMYKcmyk(69.4%, 62.5%, 0%, 71.8%)
CIE-LABlab(12.10, 14.37, -28.92)
CIE-LCHlch(12.10, 32.29, 296.42°)
OKLaboklab(24.79% 0.0056 -0.0831)
OKLCHoklch(24.79% 0.083 273.9)
XYZxyz(1.8921, 1.4222, 6.3044)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B48 #484316
analogous
#163448 #161B48 #2A1648
triadic
#161B48 #48161B #1B4816
tetradic
#161B48 #481634 #484316 #16482A
square
#161B48 #481634 #484316 #16482A
split-complementary
#161B48 #482A16 #344816
monochromatic
#070917 #080919 #161B48 #242D77 #333EA6

Accessibility & contrast

On white

16.35
#161B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B48
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B48#FFFFFF#000000##FFFFFF
##161B481.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161b48;
/* rgb */ color: rgb(22, 27, 72);
/* oklch */ color: oklch(24.8% 0.083 273.9);
Tailwind
colors: {
  custom: {
    50: '#5a577b',
    500: '#161b48',
    950: '#000000',
  },
}
SCSS
$custom: #161b48;
$custom-light: #5a577b;
$custom-dark: #000000;
JSON
{
  "hex": "#161b48",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 234,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2479,
    "c": 0.08326,
    "h": 273.9
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#161B48
secondary
#7F793A
accent
#CE4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161B48

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

Preview Lab → · Contrast checker → · Palette generator →

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