#161641#161641

#161641 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.080 H 278.1°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#161641
RGBrgb(22, 22, 65)
HSLhsl(240, 49%, 17%)
HSVhsv(240, 66%, 25%)
CMYKcmyk(66.2%, 66.2%, 0%, 74.5%)
CIE-LABlab(10.00, 15.32, -27.43)
CIE-LCHlch(10.00, 31.42, 299.18°)
OKLaboklab(23.03% 0.0113 -0.0787)
OKLCHoklch(23.03% 0.08 278.1)
XYZxyz(1.5716, 1.1259, 5.1345)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161641 #414116
analogous
#162C41 #161641 #2C1641
triadic
#161641 #411616 #164116
tetradic
#161641 #41162C #414116 #16412C
square
#161641 #41162C #414116 #16412C
split-complementary
#161641 #412C16 #2C4116
monochromatic
#080817 #080817 #161641 #25256F #35359C

Accessibility & contrast

On white

17.14
#161641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#161641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161641
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161641#FFFFFF#000000##FFFFFF
##1616411.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #161641;
/* rgb */ color: rgb(22, 22, 65);
/* oklch */ color: oklch(23.0% 0.080 278.1);
Tailwind
colors: {
  custom: {
    50: '#585376',
    500: '#161641',
    950: '#000000',
  },
}
SCSS
$custom: #161641;
$custom-light: #585376;
$custom-dark: #000000;
JSON
{
  "hex": "#161641",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23032,
    "c": 0.07955,
    "h": 278.1
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#161641
secondary
#78783A
accent
#D94FD9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #161641

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

Preview Lab → · Contrast checker → · Palette generator →

#161641 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva