#151F26#151F26

#151F26 is a very dark, near-neutral cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.020 H 239.2°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#151F26
RGBrgb(21, 31, 38)
HSLhsl(205, 29%, 12%)
HSVhsv(205, 45%, 15%)
CMYKcmyk(44.7%, 18.4%, 0%, 85.1%)
CIE-LABlab(11.13, -2.19, -6.17)
CIE-LCHlch(11.13, 6.54, 250.48°)
OKLaboklab(23.3% -0.0101 -0.017)
OKLCHoklch(23.3% 0.02 239.2)
XYZxyz(1.1490, 1.2793, 2.0197)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F26 #261C15
analogous
#152625 #151F26 #151726
triadic
#151F26 #26151F #1F2615
tetradic
#151F26 #251526 #261C15 #172615
square
#151F26 #251526 #261C15 #172615
split-complementary
#151F26 #261517 #262515
monochromatic
#0B1014 #0B1014 #151F26 #2B3F4D #415F75

Accessibility & contrast

On white

16.72
#151F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F26
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F26#FFFFFF#000000##FFFFFF
##151F261.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F26
Deuteranopia (green-blind)
#1A1D26
Tritanopia (blue-blind)
#0F2121
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151f26;
/* rgb */ color: rgb(21, 31, 38);
/* oklch */ color: oklch(23.3% 0.020 239.2);
Tailwind
colors: {
  custom: {
    50: '#535a60',
    500: '#151f26',
    950: '#000000',
  },
}
SCSS
$custom: #151f26;
$custom-light: #535a60;
$custom-dark: #000000;
JSON
{
  "hex": "#151f26",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 204.706,
    "s": 28.814,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23297,
    "c": 0.01974,
    "h": 239.2
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#151F26
secondary
#5B493C
accent
#8B63C5
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020304
muted
#787879

Preview Lab

Preview with #151F26

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

Preview Lab → · Contrast checker → · Palette generator →

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