#160B52#160B52

#160B52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.0% C 0.119 H 278.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#160B52
RGBrgb(22, 11, 82)
HSLhsl(249, 76%, 18%)
HSVhsv(249, 87%, 32%)
CMYKcmyk(73.2%, 86.6%, 0%, 67.8%)
CIE-LABlab(9.15, 29.02, -40.67)
CIE-LCHlch(9.15, 49.96, 305.51°)
OKLaboklab(22.97% 0.0176 -0.1175)
OKLCHoklch(22.97% 0.119 278.5)
XYZxyz(1.9730, 1.0189, 8.0737)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B52 #47520B
analogous
#0B2352 #160B52 #390B52
triadic
#160B52 #52160B #0B5216
tetradic
#160B52 #520B23 #47520B #0B5239
square
#160B52 #520B23 #47520B #0B5239
split-complementary
#160B52 #52390B #23520B
monochromatic
#07041B #08041C #160B52 #241288 #3319BE

Accessibility & contrast

On white

17.44
#160B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#160B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160B52
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B52#FFFFFF#000000##FFFFFF
##160B521.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C54
Deuteranopia (green-blind)
#001751
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #160b52;
/* rgb */ color: rgb(22, 11, 82);
/* oklch */ color: oklch(23.0% 0.119 278.5);
Tailwind
colors: {
  custom: {
    50: '#5e4c84',
    500: '#160b52',
    950: '#000000',
  },
}
SCSS
$custom: #160b52;
$custom-light: #5e4c84;
$custom-dark: #000000;
JSON
{
  "hex": "#160b52",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 249.296,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22973,
    "c": 0.11877,
    "h": 278.5
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#160B52
secondary
#7E8E2B
accent
#F335D5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #160B52

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

Preview Lab → · Contrast checker → · Palette generator →

#160B52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva