#161B50#161B50

#161B50 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.096 H 273.4°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#161B50
RGBrgb(22, 27, 80)
HSLhsl(235, 57%, 20%)
HSVhsv(235, 73%, 31%)
CMYKcmyk(72.5%, 66.3%, 0%, 68.6%)
CIE-LABlab(12.82, 17.63, -33.27)
CIE-LCHlch(12.82, 37.65, 297.92°)
OKLaboklab(25.55% 0.0056 -0.0959)
OKLCHoklch(25.55% 0.096 273.4)
XYZxyz(2.1703, 1.5334, 7.7695)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B50 #504B16
analogous
#163850 #161B50 #2E1650
triadic
#161B50 #50161B #1B5016
tetradic
#161B50 #501638 #504B16 #16502E
square
#161B50 #501638 #504B16 #16502E
split-complementary
#161B50 #502E16 #385016
monochromatic
#070818 #090B20 #161B50 #232B80 #303BB0

Accessibility & contrast

On white

16.07
#161B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B50
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B50#FFFFFF#000000##FFFFFF
##161B501.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161b50;
/* rgb */ color: rgb(22, 27, 80);
/* oklch */ color: oklch(25.5% 0.096 273.4);
Tailwind
colors: {
  custom: {
    50: '#5c5782',
    500: '#161b50',
    950: '#000000',
  },
}
SCSS
$custom: #161b50;
$custom-light: #5c5782;
$custom-dark: #000000;
JSON
{
  "hex": "#161b50",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 234.828,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.25546,
    "c": 0.09603,
    "h": 273.4
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#161B50
secondary
#87813A
accent
#D348E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161B50

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

Preview Lab → · Contrast checker → · Palette generator →

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