#160C56#160C56

#160C56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.6% C 0.123 H 277.4°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#160C56
RGBrgb(22, 12, 86)
HSLhsl(248, 76%, 19%)
HSVhsv(248, 86%, 34%)
CMYKcmyk(74.4%, 86%, 0%, 66.3%)
CIE-LABlab(9.84, 29.85, -42.26)
CIE-LCHlch(9.84, 51.73, 305.23°)
OKLaboklab(23.6% 0.0158 -0.1221)
OKLCHoklch(23.6% 0.123 277.4)
XYZxyz(2.1415, 1.1052, 8.9028)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C56 #4C560C
analogous
#0C2756 #160C56 #3B0C56
triadic
#160C56 #56160C #0C5616
tetradic
#160C56 #560C27 #4C560C #0C563B
square
#160C56 #560C27 #4C560C #0C563B
split-complementary
#160C56 #563B0C #27560C
monochromatic
#07041B #080520 #160C56 #24138C #311BC1

Accessibility & contrast

On white

17.20
#160C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160C56
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C56#FFFFFF#000000##FFFFFF
##160C561.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #160c56;
/* rgb */ color: rgb(22, 12, 86);
/* oklch */ color: oklch(23.6% 0.123 277.4);
Tailwind
colors: {
  custom: {
    50: '#5f4d87',
    500: '#160c56',
    950: '#000000',
  },
}
SCSS
$custom: #160c56;
$custom-light: #5f4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#160c56",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 248.108,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23601,
    "c": 0.12312,
    "h": 277.4
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#160C56
secondary
#84912D
accent
#F236D9
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #160C56

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

Preview Lab → · Contrast checker → · Palette generator →

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