#160F42#160F42

#160F42 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.092 H 281.9°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#160F42
RGBrgb(22, 15, 66)
HSLhsl(248, 63%, 16%)
HSVhsv(248, 77%, 26%)
CMYKcmyk(66.7%, 77.3%, 0%, 74.1%)
CIE-LABlab(8.18, 20.78, -31.11)
CIE-LCHlch(8.18, 37.41, 303.74°)
OKLaboklab(21.73% 0.0188 -0.0896)
OKLCHoklch(21.73% 0.092 281.9)
XYZxyz(1.4848, 0.9055, 5.2497)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F42 #3B420F
analogous
#0F2142 #160F42 #2F0F42
triadic
#160F42 #42160F #0F4216
tetradic
#160F42 #420F21 #3B420F #0F422F
square
#160F42 #420F21 #3B420F #0F422F
split-complementary
#160F42 #422F0F #21420F
monochromatic
#080619 #080619 #160F42 #271A74 #3726A6

Accessibility & contrast

On white

17.78
#160F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#160F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F42
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F42#FFFFFF#000000##FFFFFF
##160F421.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #160f42;
/* rgb */ color: rgb(22, 15, 66);
/* oklch */ color: oklch(21.7% 0.092 281.9);
Tailwind
colors: {
  custom: {
    50: '#5a4e77',
    500: '#160f42',
    950: '#000000',
  },
}
SCSS
$custom: #160f42;
$custom-light: #5a4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#160f42",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 248.235,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21733,
    "c": 0.09153,
    "h": 281.9
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#160F42
secondary
#727C30
accent
#E642CF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #160F42

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

Preview Lab → · Contrast checker → · Palette generator →

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