#160F5B#160F5B

#160F5B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.127 H 275.8°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#160F5B
RGBrgb(22, 15, 91)
HSLhsl(246, 72%, 21%)
HSVhsv(246, 84%, 36%)
CMYKcmyk(75.8%, 83.5%, 0%, 64.3%)
CIE-LABlab(11.04, 29.90, -43.65)
CIE-LCHlch(11.04, 52.91, 304.41°)
OKLaboklab(24.63% 0.0128 -0.1262)
OKLCHoklch(24.63% 0.127 275.8)
XYZxyz(2.3894, 1.2673, 10.0142)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F5B #545B0F
analogous
#0F2E5B #160F5B #3C0F5B
triadic
#160F5B #5B160F #0F5B16
tetradic
#160F5B #5B0F2E #545B0F #0F5B3C
square
#160F5B #5B0F2E #545B0F #0F5B3C
split-complementary
#160F5B #5B3C0F #2E5B0F
monochromatic
#06041A #090626 #160F5B #231890 #2F20C4

Accessibility & contrast

On white

16.75
#160F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#160F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F5B
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F5B#FFFFFF#000000##FFFFFF
##160F5B1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #160f5b;
/* rgb */ color: rgb(22, 15, 91);
/* oklch */ color: oklch(24.6% 0.127 275.8);
Tailwind
colors: {
  custom: {
    50: '#604f8a',
    500: '#160f5b',
    950: '#000000',
  },
}
SCSS
$custom: #160f5b;
$custom-light: #604f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#160f5b",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 245.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24625,
    "c": 0.12683,
    "h": 275.8
  },
  "luminance": 0.01268
}

Semantic roles & 50–950 ramp

primary
#160F5B
secondary
#8B9531
accent
#EE39DE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #160F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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