#160D4C#160D4C

#160D4C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.108 H 279.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#160D4C
RGBrgb(22, 13, 76)
HSLhsl(249, 71%, 17%)
HSVhsv(249, 83%, 30%)
CMYKcmyk(71.1%, 82.9%, 0%, 70.2%)
CIE-LABlab(8.82, 25.75, -37.06)
CIE-LCHlch(8.82, 45.13, 304.79°)
OKLaboklab(22.53% 0.0182 -0.107)
OKLCHoklch(22.53% 0.109 279.6)
XYZxyz(1.7789, 0.9801, 6.9315)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D4C #434C0D
analogous
#0D244C #160D4C #350D4C
triadic
#160D4C #4C160D #0D4C16
tetradic
#160D4C #4C0D24 #434C0D #0D4C35
square
#160D4C #4C0D24 #434C0D #0D4C35
split-complementary
#160D4C #4C350D #244C0D
monochromatic
#08041A #08041A #160D4C #251680 #341FB5

Accessibility & contrast

On white

17.56
#160D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160D4C
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160D4C#FFFFFF#000000##FFFFFF
##160D4C1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00174B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #160d4c;
/* rgb */ color: rgb(22, 13, 76);
/* oklch */ color: oklch(22.5% 0.108 279.6);
Tailwind
colors: {
  custom: {
    50: '#5c4d7f',
    500: '#160d4c',
    950: '#000000',
  },
}
SCSS
$custom: #160d4c;
$custom-light: #5c4d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#160d4c",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 248.571,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2253,
    "c": 0.1085,
    "h": 279.6
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#160D4C
secondary
#7A872E
accent
#EE3AD4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #160D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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