#151A22#151A22

#151A22 is a very dark, near-neutral blue. Relative luminance 0.010; OKLCH L 21.6% C 0.018 H 259.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#151A22
RGBrgb(21, 26, 34)
HSLhsl(217, 24%, 11%)
HSVhsv(217, 38%, 13%)
CMYKcmyk(38.2%, 23.5%, 0%, 86.7%)
CIE-LABlab(9.11, 0.14, -6.29)
CIE-LCHlch(9.11, 6.29, 271.30°)
OKLaboklab(21.64% -0.0031 -0.0173)
OKLCHoklch(21.64% 0.018 259.7)
XYZxyz(0.9673, 1.0137, 1.6578)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A22 #221D15
analogous
#152022 #151A22 #161522
triadic
#151A22 #22151A #1A2215
tetradic
#151A22 #221520 #221D15 #152216
square
#151A22 #221520 #221D15 #152216
split-complementary
#151A22 #221615 #202215
monochromatic
#0C0E13 #0C0E13 #151A22 #2C3748 #44546E

Accessibility & contrast

On white

17.46
#151A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#151A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A22
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A22#FFFFFF#000000##FFFFFF
##151A221.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171A22
Deuteranopia (green-blind)
#161922
Tritanopia (blue-blind)
#111C1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #151a22;
/* rgb */ color: rgb(21, 26, 34);
/* oklch */ color: oklch(21.6% 0.018 259.7);
Tailwind
colors: {
  custom: {
    50: '#52565d',
    500: '#151a22',
    950: '#000000',
  },
}
SCSS
$custom: #151a22;
$custom-light: #52565d;
$custom-dark: #000000;
JSON
{
  "hex": "#151a22",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 216.923,
    "s": 23.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21642,
    "c": 0.01754,
    "h": 259.7
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#151A22
secondary
#564C3D
accent
#9E68C0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020304
muted
#787879

Preview Lab

Preview with #151A22

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

Preview Lab → · Contrast checker → · Palette generator →

#151A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva