#160F4E#160F4E

#160F4E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.109 H 278.5°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#160F4E
RGBrgb(22, 15, 78)
HSLhsl(247, 68%, 18%)
HSVhsv(247, 81%, 31%)
CMYKcmyk(71.8%, 80.8%, 0%, 69.4%)
CIE-LABlab(9.50, 25.23, -37.33)
CIE-LCHlch(9.50, 45.06, 304.05°)
OKLaboklab(23.08% 0.0162 -0.1078)
OKLCHoklch(23.08% 0.109 278.5)
XYZxyz(1.8764, 1.0621, 7.3124)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F4E #474E0F
analogous
#0F274E #160F4E #350F4E
triadic
#160F4E #4E160F #0F4E16
tetradic
#160F4E #4E0F27 #474E0F #0F4E35
square
#160F4E #4E0F27 #474E0F #0F4E35
split-complementary
#160F4E #4E350F #274E0F
monochromatic
#07051A #08051B #160F4E #241981 #3323B5

Accessibility & contrast

On white

17.32
#160F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160F4E
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F4E#FFFFFF#000000##FFFFFF
##160F4E1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #160f4e;
/* rgb */ color: rgb(22, 15, 78);
/* oklch */ color: oklch(23.1% 0.109 278.5);
Tailwind
colors: {
  custom: {
    50: '#5d4e80',
    500: '#160f4e',
    950: '#000000',
  },
}
SCSS
$custom: #160f4e;
$custom-light: #5d4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#160f4e",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 246.667,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23076,
    "c": 0.109,
    "h": 278.5
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#160F4E
secondary
#7E8831
accent
#EB3DD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #160F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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