#160C4A#160C4A

#160C4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.1% C 0.107 H 280.5°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#160C4A
RGBrgb(22, 12, 74)
HSLhsl(250, 72%, 17%)
HSVhsv(250, 84%, 29%)
CMYKcmyk(70.3%, 83.8%, 0%, 71%)
CIE-LABlab(8.37, 25.64, -36.41)
CIE-LCHlch(8.37, 44.53, 305.16°)
OKLaboklab(22.14% 0.0194 -0.1051)
OKLCHoklch(22.14% 0.107 280.5)
XYZxyz(1.6980, 0.9278, 6.5668)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C4A #404A0C
analogous
#0C214A #160C4A #350C4A
triadic
#160C4A #4A160C #0C4A16
tetradic
#160C4A #4A0C21 #404A0C #0C4A35
square
#160C4A #4A0C21 #404A0C #0C4A35
split-complementary
#160C4A #4A350C #214A0C
monochromatic
#08041A #08041A #160C4A #26157F #351DB3

Accessibility & contrast

On white

17.71
#160C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#160C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C4A
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C4A#FFFFFF#000000##FFFFFF
##160C4A1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #160c4a;
/* rgb */ color: rgb(22, 12, 74);
/* oklch */ color: oklch(22.1% 0.107 280.5);
Tailwind
colors: {
  custom: {
    50: '#5c4c7d',
    500: '#160c4a',
    950: '#000000',
  },
}
SCSS
$custom: #160c4a;
$custom-light: #5c4c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#160c4a",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 249.677,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22144,
    "c": 0.10685,
    "h": 280.5
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#160C4A
secondary
#77862C
accent
#EF39D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #160C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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