#160C52#160C52

#160C52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.1% C 0.118 H 278.3°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#160C52
RGBrgb(22, 12, 82)
HSLhsl(249, 74%, 18%)
HSVhsv(249, 85%, 32%)
CMYKcmyk(73.2%, 85.4%, 0%, 67.8%)
CIE-LABlab(9.34, 28.46, -40.35)
CIE-LCHlch(9.34, 49.37, 305.20°)
OKLaboklab(23.11% 0.017 -0.1165)
OKLCHoklch(23.11% 0.118 278.3)
XYZxyz(1.9848, 1.0425, 8.0776)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C52 #48520C
analogous
#0C2552 #160C52 #390C52
triadic
#160C52 #52160C #0C5216
tetradic
#160C52 #520C25 #48520C #0C5239
square
#160C52 #520C25 #48520C #0C5239
split-complementary
#160C52 #52390C #25520C
monochromatic
#07041B #08041D #160C52 #241487 #331CBD

Accessibility & contrast

On white

17.38
#160C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#160C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C52
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C52#FFFFFF#000000##FFFFFF
##160C521.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #160c52;
/* rgb */ color: rgb(22, 12, 82);
/* oklch */ color: oklch(23.1% 0.118 278.3);
Tailwind
colors: {
  custom: {
    50: '#5e4d83',
    500: '#160c52',
    950: '#000000',
  },
}
SCSS
$custom: #160c52;
$custom-light: #5e4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#160c52",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 82
  },
  "hsl": {
    "h": 248.571,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23107,
    "c": 0.11778,
    "h": 278.3
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#160C52
secondary
#7F8D2C
accent
#F137D6
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #160C52

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

Preview Lab → · Contrast checker → · Palette generator →

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