#151B22#151B22

#151B22 is a very dark, near-neutral cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.016 H 252.5°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#151B22
RGBrgb(21, 27, 34)
HSLhsl(212, 24%, 11%)
HSVhsv(212, 38%, 13%)
CMYKcmyk(38.2%, 20.6%, 0%, 86.7%)
CIE-LABlab(9.47, -0.61, -5.73)
CIE-LCHlch(9.47, 5.76, 263.97°)
OKLaboklab(21.93% -0.005 -0.0157)
OKLCHoklch(21.93% 0.016 252.5)
XYZxyz(0.9898, 1.0588, 1.6653)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B22 #221C15
analogous
#152122 #151B22 #151522
triadic
#151B22 #22151B #1B2215
tetradic
#151B22 #221521 #221C15 #152215
square
#151B22 #221521 #221C15 #152215
split-complementary
#151B22 #221515 #212215
monochromatic
#0C0F13 #0C0F13 #151B22 #2C3948 #44576E

Accessibility & contrast

On white

17.33
#151B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#151B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B22
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B22#FFFFFF#000000##FFFFFF
##151B221.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181B22
Deuteranopia (green-blind)
#171A22
Tritanopia (blue-blind)
#111D1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #151b22;
/* rgb */ color: rgb(21, 27, 34);
/* oklch */ color: oklch(21.9% 0.016 252.5);
Tailwind
colors: {
  custom: {
    50: '#52575d',
    500: '#151b22',
    950: '#000000',
  },
}
SCSS
$custom: #151b22;
$custom-light: #52575d;
$custom-dark: #000000;
JSON
{
  "hex": "#151b22",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 212.308,
    "s": 23.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21929,
    "c": 0.01646,
    "h": 252.5
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#151B22
secondary
#564A3D
accent
#9768C0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020304
muted
#787879

Preview Lab

Preview with #151B22

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

Preview Lab → · Contrast checker → · Palette generator →

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