#160F54#160F54

#160F54 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.117 H 277.2°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#160F54
RGBrgb(22, 15, 84)
HSLhsl(246, 70%, 19%)
HSVhsv(246, 82%, 33%)
CMYKcmyk(73.8%, 82.1%, 0%, 67.1%)
CIE-LABlab(10.20, 27.41, -40.30)
CIE-LCHlch(10.20, 48.73, 304.22°)
OKLaboklab(23.78% 0.0147 -0.1164)
OKLCHoklch(23.78% 0.117 277.2)
XYZxyz(2.1014, 1.1521, 8.4974)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F54 #4D540F
analogous
#0F2B54 #160F54 #390F54
triadic
#160F54 #54160F #0F5416
tetradic
#160F54 #540F2B #4D540F #0F5439
square
#160F54 #540F2B #4D540F #0F5439
split-complementary
#160F54 #54390F #2B540F
monochromatic
#07051A #080620 #160F54 #241888 #3122BC

Accessibility & contrast

On white

17.07
#160F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#160F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F54
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F54#FFFFFF#000000##FFFFFF
##160F541.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #160f54;
/* rgb */ color: rgb(22, 15, 84);
/* oklch */ color: oklch(23.8% 0.117 277.2);
Tailwind
colors: {
  custom: {
    50: '#5e4f85',
    500: '#160f54',
    950: '#000000',
  },
}
SCSS
$custom: #160f54;
$custom-light: #5e4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#160f54",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 246.087,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23781,
    "c": 0.11736,
    "h": 277.2
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#160F54
secondary
#858E31
accent
#ED3BDB
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #160F54

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

Preview Lab → · Contrast checker → · Palette generator →

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