#160F5F#160F5F

#160F5F is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.132 H 275.1°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#160F5F
RGBrgb(22, 15, 95)
HSLhsl(245, 73%, 22%)
HSVhsv(245, 84%, 37%)
CMYKcmyk(76.8%, 84.2%, 0%, 62.7%)
CIE-LABlab(11.54, 31.30, -45.52)
CIE-LCHlch(11.54, 55.24, 304.51°)
OKLaboklab(25.12% 0.0117 -0.1316)
OKLCHoklch(25.12% 0.132 275.1)
XYZxyz(2.5666, 1.3382, 10.9473)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F5F #585F0F
analogous
#0F305F #160F5F #3E0F5F
triadic
#160F5F #5F160F #0F5F16
tetradic
#160F5F #5F0F30 #585F0F #0F5F3E
square
#160F5F #5F0F30 #585F0F #0F5F3E
split-complementary
#160F5F #5F3E0F #305F0F
monochromatic
#06041A #0A072A #160F5F #221794 #2E20C9

Accessibility & contrast

On white

16.57
#160F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#160F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F5F
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F5F#FFFFFF#000000##FFFFFF
##160F5F1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001B5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #160f5f;
/* rgb */ color: rgb(22, 15, 95);
/* oklch */ color: oklch(25.1% 0.132 275.1);
Tailwind
colors: {
  custom: {
    50: '#614f8d',
    500: '#160f5f',
    950: '#000000',
  },
}
SCSS
$custom: #160f5f;
$custom-light: #614f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#160f5f",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 245.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25117,
    "c": 0.13214,
    "h": 275.1
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#160F5F
secondary
#8F9832
accent
#EF38DF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #160F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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