#160C51#160C51

#160C51 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.0% C 0.116 H 278.6°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#160C51
RGBrgb(22, 12, 81)
HSLhsl(249, 74%, 18%)
HSVhsv(249, 85%, 32%)
CMYKcmyk(72.8%, 85.2%, 0%, 68.2%)
CIE-LABlab(9.22, 28.11, -39.86)
CIE-LCHlch(9.22, 48.78, 305.19°)
OKLaboklab(22.99% 0.0174 -0.1151)
OKLCHoklch(22.99% 0.116 278.6)
XYZxyz(1.9471, 1.0274, 7.8787)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C51 #47510C
analogous
#0C2451 #160C51 #380C51
triadic
#160C51 #51160C #0C5116
tetradic
#160C51 #510C24 #47510C #0C5138
square
#160C51 #510C24 #47510C #0C5138
split-complementary
#160C51 #51380C #24510C
monochromatic
#07041B #08041C #160C51 #241486 #331CBC

Accessibility & contrast

On white

17.42
#160C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#160C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C51
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C51#FFFFFF#000000##FFFFFF
##160C511.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D53
Deuteranopia (green-blind)
#001750
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #160c51;
/* rgb */ color: rgb(22, 12, 81);
/* oklch */ color: oklch(23.0% 0.116 278.6);
Tailwind
colors: {
  custom: {
    50: '#5e4d83',
    500: '#160c51',
    950: '#000000',
  },
}
SCSS
$custom: #160c51;
$custom-light: #5e4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#160c51",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 248.696,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22985,
    "c": 0.11644,
    "h": 278.6
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#160C51
secondary
#7E8C2C
accent
#F137D6
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #160C51

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

Preview Lab → · Contrast checker → · Palette generator →

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