#161456#161456

#161456 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.8% C 0.114 H 275.4°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#161456
RGBrgb(22, 20, 86)
HSLhsl(242, 62%, 21%)
HSVhsv(242, 77%, 34%)
CMYKcmyk(74.4%, 76.7%, 0%, 66.3%)
CIE-LABlab(11.57, 24.95, -39.40)
CIE-LCHlch(11.57, 46.63, 302.34°)
OKLaboklab(24.82% 0.0109 -0.1139)
OKLCHoklch(24.82% 0.114 275.4)
XYZxyz(2.2602, 1.3426, 8.9423)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161456 #545614
analogous
#143356 #161456 #371456
triadic
#161456 #561614 #145616
tetradic
#161456 #561433 #545614 #145637
square
#161456 #561433 #545614 #145637
split-complementary
#161456 #563714 #335614
monochromatic
#060619 #090824 #161456 #232088 #2F2BB9

Accessibility & contrast

On white

16.55
#161456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161456
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161456#FFFFFF#000000##FFFFFF
##1614561.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161456;
/* rgb */ color: rgb(22, 20, 86);
/* oklch */ color: oklch(24.8% 0.114 275.4);
Tailwind
colors: {
  custom: {
    50: '#5e5286',
    500: '#161456',
    950: '#000000',
  },
}
SCSS
$custom: #161456;
$custom-light: #5e5286;
$custom-dark: #000000;
JSON
{
  "hex": "#161456",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 241.818,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24823,
    "c": 0.11438,
    "h": 275.4
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#161456
secondary
#8B8E38
accent
#E542E0
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161456

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

Preview Lab → · Contrast checker → · Palette generator →

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