#160D4E#160D4E

#160D4E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.111 H 279.1°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#160D4E
RGBrgb(22, 13, 78)
HSLhsl(248, 71%, 18%)
HSVhsv(248, 83%, 31%)
CMYKcmyk(71.8%, 83.3%, 0%, 69.4%)
CIE-LABlab(9.06, 26.47, -38.05)
CIE-LCHlch(9.06, 46.35, 304.82°)
OKLaboklab(22.77% 0.0176 -0.1099)
OKLCHoklch(22.77% 0.111 279.1)
XYZxyz(1.8495, 1.0083, 7.3034)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D4E #454E0D
analogous
#0D244E #160D4E #360D4E
triadic
#160D4E #4E160D #0D4E16
tetradic
#160D4E #4E0D24 #454E0D #0D4E36
square
#160D4E #4E0D24 #454E0D #0D4E36
split-complementary
#160D4E #4E360D #244E0D
monochromatic
#07041A #07041A #160D4E #251682 #341EB7

Accessibility & contrast

On white

17.48
#160D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#160D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160D4E
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160D4E#FFFFFF#000000##FFFFFF
##160D4E1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00174D
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #160d4e;
/* rgb */ color: rgb(22, 13, 78);
/* oklch */ color: oklch(22.8% 0.111 279.1);
Tailwind
colors: {
  custom: {
    50: '#5d4d80',
    500: '#160d4e',
    950: '#000000',
  },
}
SCSS
$custom: #160d4e;
$custom-light: #5d4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#160d4e",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 248.308,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22767,
    "c": 0.11128,
    "h": 279.1
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#160D4E
secondary
#7C892E
accent
#EE3AD5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #160D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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