#161656#161656

#161656 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.112 H 274.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#161656
RGBrgb(22, 22, 86)
HSLhsl(240, 59%, 21%)
HSVhsv(240, 74%, 34%)
CMYKcmyk(74.4%, 74.4%, 0%, 66.3%)
CIE-LABlab(12.06, 23.59, -38.59)
CIE-LCHlch(12.06, 45.23, 301.44°)
OKLaboklab(25.18% 0.0094 -0.1115)
OKLCHoklch(25.18% 0.112 274.8)
XYZxyz(2.2969, 1.4161, 8.9546)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161656 #565616
analogous
#163656 #161656 #361656
triadic
#161656 #561616 #165616
tetradic
#161656 #561636 #565616 #165636
square
#161656 #561636 #565616 #165636
split-complementary
#161656 #563616 #365616
monochromatic
#060618 #0A0A25 #161656 #222287 #2F2FB7

Accessibility & contrast

On white

16.37
#161656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161656
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161656#FFFFFF#000000##FFFFFF
##1616561.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161656;
/* rgb */ color: rgb(22, 22, 86);
/* oklch */ color: oklch(25.2% 0.112 274.8);
Tailwind
colors: {
  custom: {
    50: '#5e5386',
    500: '#161656',
    950: '#000000',
  },
}
SCSS
$custom: #161656;
$custom-light: #5e5386;
$custom-dark: #000000;
JSON
{
  "hex": "#161656",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25178,
    "c": 0.11187,
    "h": 274.8
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#161656
secondary
#8D8D3A
accent
#E245E2
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161656

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

Preview Lab → · Contrast checker → · Palette generator →

#161656 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva