#160F52#160F52

#160F52 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.115 H 277.6°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#160F52
RGBrgb(22, 15, 82)
HSLhsl(246, 69%, 19%)
HSVhsv(246, 82%, 32%)
CMYKcmyk(73.2%, 81.7%, 0%, 67.8%)
CIE-LABlab(9.96, 26.68, -39.32)
CIE-LCHlch(9.96, 47.52, 304.16°)
OKLaboklab(23.54% 0.0152 -0.1136)
OKLCHoklch(23.54% 0.115 277.6)
XYZxyz(2.0242, 1.1212, 8.0908)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F52 #4B520F
analogous
#0F2A52 #160F52 #380F52
triadic
#160F52 #52160F #0F5216
tetradic
#160F52 #520F2A #4B520F #0F5238
square
#160F52 #520F2A #4B520F #0F5238
split-complementary
#160F52 #52380F #2A520F
monochromatic
#07051A #08061E #160F52 #241886 #3222B9

Accessibility & contrast

On white

17.15
#160F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#160F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F52
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F52#FFFFFF#000000##FFFFFF
##160F521.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #160f52;
/* rgb */ color: rgb(22, 15, 82);
/* oklch */ color: oklch(23.5% 0.115 277.6);
Tailwind
colors: {
  custom: {
    50: '#5e4e83',
    500: '#160f52',
    950: '#000000',
  },
}
SCSS
$custom: #160f52;
$custom-light: #5e4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#160f52",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 246.269,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23544,
    "c": 0.1146,
    "h": 277.6
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#160F52
secondary
#838C31
accent
#EC3CDA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #160F52

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

Preview Lab → · Contrast checker → · Palette generator →

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