#160F5C#160F5C

#160F5C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.128 H 275.6°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#160F5C
RGBrgb(22, 15, 92)
HSLhsl(245, 72%, 21%)
HSVhsv(245, 84%, 36%)
CMYKcmyk(76.1%, 83.7%, 0%, 63.9%)
CIE-LABlab(11.17, 30.25, -44.12)
CIE-LCHlch(11.17, 53.49, 304.44°)
OKLaboklab(24.75% 0.0125 -0.1276)
OKLCHoklch(24.75% 0.128 275.6)
XYZxyz(2.4328, 1.2847, 10.2429)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F5C #555C0F
analogous
#0F2E5C #160F5C #3C0F5C
triadic
#160F5C #5C160F #0F5C16
tetradic
#160F5C #5C0F2E #555C0F #0F5C3C
square
#160F5C #5C0F2E #555C0F #0F5C3C
split-complementary
#160F5C #5C3C0F #2E5C0F
monochromatic
#06041A #090627 #160F5C #231891 #2F20C5

Accessibility & contrast

On white

16.71
#160F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#160F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F5C
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F5C#FFFFFF#000000##FFFFFF
##160F5C1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215E
Deuteranopia (green-blind)
#001A5B
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #160f5c;
/* rgb */ color: rgb(22, 15, 92);
/* oklch */ color: oklch(24.7% 0.128 275.6);
Tailwind
colors: {
  custom: {
    50: '#604f8b',
    500: '#160f5c',
    950: '#000000',
  },
}
SCSS
$custom: #160f5c;
$custom-light: #604f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#160f5c",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 245.455,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24748,
    "c": 0.12817,
    "h": 275.6
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#160F5C
secondary
#8C9531
accent
#EF39DE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #160F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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