#160D52#160D52

#160D52 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.117 H 278.1°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#160D52
RGBrgb(22, 13, 82)
HSLhsl(248, 73%, 19%)
HSVhsv(248, 84%, 32%)
CMYKcmyk(73.2%, 84.1%, 0%, 67.8%)
CIE-LABlab(9.54, 27.89, -40.02)
CIE-LCHlch(9.54, 48.77, 304.87°)
OKLaboklab(23.25% 0.0165 -0.1156)
OKLCHoklch(23.25% 0.117 278.1)
XYZxyz(1.9973, 1.0674, 8.0818)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D52 #49520D
analogous
#0D2652 #160D52 #380D52
triadic
#160D52 #52160D #0D5216
tetradic
#160D52 #520D26 #49520D #0D5238
square
#160D52 #520D26 #49520D #0D5238
split-complementary
#160D52 #52380D #26520D
monochromatic
#07041A #08051D #160D52 #241587 #321EBC

Accessibility & contrast

On white

17.30
#160D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160D52
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160D52#FFFFFF#000000##FFFFFF
##160D521.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #160d52;
/* rgb */ color: rgb(22, 13, 82);
/* oklch */ color: oklch(23.2% 0.117 278.1);
Tailwind
colors: {
  custom: {
    50: '#5e4d83',
    500: '#160d52',
    950: '#000000',
  },
}
SCSS
$custom: #160d52;
$custom-light: #5e4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#160d52",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 247.826,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23247,
    "c": 0.11675,
    "h": 278.1
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#160D52
secondary
#808D2E
accent
#EF38D7
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #160D52

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

Preview Lab → · Contrast checker → · Palette generator →

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