#160F51#160F51

#160F51 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.4% C 0.113 H 277.8°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#160F51
RGBrgb(22, 15, 81)
HSLhsl(246, 69%, 19%)
HSVhsv(246, 81%, 32%)
CMYKcmyk(72.8%, 81.5%, 0%, 68.2%)
CIE-LABlab(9.85, 26.32, -38.83)
CIE-LCHlch(9.85, 46.91, 304.13°)
OKLaboklab(23.43% 0.0154 -0.1121)
OKLCHoklch(23.43% 0.113 277.8)
XYZxyz(1.9864, 1.1061, 7.8918)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F51 #4A510F
analogous
#0F2951 #160F51 #370F51
triadic
#160F51 #51160F #0F5116
tetradic
#160F51 #510F29 #4A510F #0F5137
square
#160F51 #510F29 #4A510F #0F5137
split-complementary
#160F51 #51370F #29510F
monochromatic
#07051A #08051D #160F51 #241985 #3222B8

Accessibility & contrast

On white

17.20
#160F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#160F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F51
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F51#FFFFFF#000000##FFFFFF
##160F511.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001850
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #160f51;
/* rgb */ color: rgb(22, 15, 81);
/* oklch */ color: oklch(23.4% 0.113 277.8);
Tailwind
colors: {
  custom: {
    50: '#5d4e83',
    500: '#160f51',
    950: '#000000',
  },
}
SCSS
$custom: #160f51;
$custom-light: #5d4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#160f51",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 246.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23426,
    "c": 0.11321,
    "h": 277.8
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#160F51
secondary
#828B31
accent
#EC3CD9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #160F51

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

Preview Lab → · Contrast checker → · Palette generator →

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