#161B56#161B56

#161B56 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.105 H 272.9°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#161B56
RGBrgb(22, 27, 86)
HSLhsl(235, 59%, 21%)
HSVhsv(235, 74%, 34%)
CMYKcmyk(74.4%, 68.6%, 0%, 66.3%)
CIE-LABlab(13.39, 20.06, -36.42)
CIE-LCHlch(13.39, 41.58, 298.84°)
OKLaboklab(26.14% 0.0054 -0.1051)
OKLCHoklch(26.14% 0.105 272.9)
XYZxyz(2.4020, 1.6261, 8.9896)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B56 #565116
analogous
#163B56 #161B56 #311656
triadic
#161B56 #56161B #1B5616
tetradic
#161B56 #56163B #565116 #165631
square
#161B56 #56163B #565116 #165631
split-complementary
#161B56 #563116 #3B5616
monochromatic
#060818 #0A0C25 #161B56 #222A87 #2F3AB7

Accessibility & contrast

On white

15.85
#161B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B56
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B56#FFFFFF#000000##FFFFFF
##161B561.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161b56;
/* rgb */ color: rgb(22, 27, 86);
/* oklch */ color: oklch(26.1% 0.105 272.9);
Tailwind
colors: {
  custom: {
    50: '#5d5786',
    500: '#161b56',
    950: '#000000',
  },
}
SCSS
$custom: #161b56;
$custom-light: #5d5786;
$custom-dark: #000000;
JSON
{
  "hex": "#161b56",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 235.313,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26142,
    "c": 0.10525,
    "h": 272.9
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#161B56
secondary
#8D873A
accent
#D645E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161B56

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

Preview Lab → · Contrast checker → · Palette generator →

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