#161152#161152

#161152 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.112 H 277.1°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#161152
RGBrgb(22, 17, 82)
HSLhsl(245, 66%, 19%)
HSVhsv(245, 79%, 32%)
CMYKcmyk(73.2%, 79.3%, 0%, 67.8%)
CIE-LABlab(10.41, 25.42, -38.58)
CIE-LCHlch(10.41, 46.20, 303.38°)
OKLaboklab(23.86% 0.0138 -0.1114)
OKLCHoklch(23.86% 0.112 277.1)
XYZxyz(2.0538, 1.1805, 8.1006)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161152 #4D5211
analogous
#112D52 #161152 #371152
triadic
#161152 #521611 #115216
tetradic
#161152 #52112D #4D5211 #115237
square
#161152 #52112D #4D5211 #115237
split-complementary
#161152 #523711 #2D5211
monochromatic
#070519 #08061F #161152 #241C85 #3126B7

Accessibility & contrast

On white

16.99
#161152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#161152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161152
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161152#FFFFFF#000000##FFFFFF
##1611521.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #161152;
/* rgb */ color: rgb(22, 17, 82);
/* oklch */ color: oklch(23.9% 0.112 277.1);
Tailwind
colors: {
  custom: {
    50: '#5d5083',
    500: '#161152',
    950: '#000000',
  },
}
SCSS
$custom: #161152;
$custom-light: #5d5083;
$custom-dark: #000000;
JSON
{
  "hex": "#161152",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 244.615,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23862,
    "c": 0.11229,
    "h": 277.1
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#161152
secondary
#858B34
accent
#E93FDC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #161152

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

Preview Lab → · Contrast checker → · Palette generator →

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