#160C5F#160C5F

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

Color values

HEX#160C5F
RGBrgb(22, 12, 95)
HSLhsl(247, 78%, 21%)
HSVhsv(247, 87%, 37%)
CMYKcmyk(76.8%, 87.4%, 0%, 62.7%)
CIE-LABlab(10.99, 32.90, -46.43)
CIE-LCHlch(10.99, 56.91, 305.32°)
OKLaboklab(24.73% 0.013 -0.1342)
OKLCHoklch(24.73% 0.135 275.5)
XYZxyz(2.5272, 1.2595, 10.9342)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C5F #555F0C
analogous
#0C2B5F #160C5F #3F0C5F
triadic
#160C5F #5F160C #0C5F16
tetradic
#160C5F #5F0C2B #555F0C #0C5F3F
square
#160C5F #5F0C2B #555F0C #0C5F3F
split-complementary
#160C5F #5F3F0C #2B5F0C
monochromatic
#06031B #090529 #160C5F #231395 #2F1ACC

Accessibility & contrast

On white

16.77
#160C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160C5F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C5F#FFFFFF#000000##FFFFFF
##160C5F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002161
Deuteranopia (green-blind)
#001A5E
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #160c5f;
/* rgb */ color: rgb(22, 12, 95);
/* oklch */ color: oklch(24.7% 0.135 275.5);
Tailwind
colors: {
  custom: {
    50: '#614e8d',
    500: '#160c5f',
    950: '#000000',
  },
}
SCSS
$custom: #160c5f;
$custom-light: #614e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#160c5f",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 95
  },
  "hsl": {
    "h": 247.229,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24734,
    "c": 0.13484,
    "h": 275.5
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#160C5F
secondary
#8C992D
accent
#F434DD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #160C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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