#160F4D#160F4D

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

Color values

HEX#160F4D
RGBrgb(22, 15, 77)
HSLhsl(247, 67%, 18%)
HSVhsv(247, 81%, 30%)
CMYKcmyk(71.4%, 80.5%, 0%, 69.8%)
CIE-LABlab(9.38, 24.86, -36.83)
CIE-LCHlch(9.38, 44.43, 304.02°)
OKLaboklab(22.96% 0.0164 -0.1063)
OKLCHoklch(22.96% 0.108 278.8)
XYZxyz(1.8408, 1.0479, 7.1250)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F4D #464D0F
analogous
#0F274D #160F4D #350F4D
triadic
#160F4D #4D160F #0F4D16
tetradic
#160F4D #4D0F27 #464D0F #0F4D35
square
#160F4D #4D0F27 #464D0F #0F4D35
split-complementary
#160F4D #4D350F #274D0F
monochromatic
#07051A #07051A #160F4D #251980 #3323B3

Accessibility & contrast

On white

17.36
#160F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160F4D
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F4D#FFFFFF#000000##FFFFFF
##160F4D1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #160f4d;
/* rgb */ color: rgb(22, 15, 77);
/* oklch */ color: oklch(23.0% 0.108 278.8);
Tailwind
colors: {
  custom: {
    50: '#5c4e80',
    500: '#160f4d',
    950: '#000000',
  },
}
SCSS
$custom: #160f4d;
$custom-light: #5c4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#160f4d",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 246.774,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22961,
    "c": 0.10758,
    "h": 278.8
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#160F4D
secondary
#7D8731
accent
#EA3ED7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #160F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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