#151A26#151A26

#151A26 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.9% C 0.025 H 266.9°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#151A26
RGBrgb(21, 26, 38)
HSLhsl(222, 29%, 12%)
HSVhsv(222, 45%, 15%)
CMYKcmyk(44.7%, 31.6%, 0%, 85.1%)
CIE-LABlab(9.30, 1.52, -8.96)
CIE-LCHlch(9.30, 9.09, 279.60°)
OKLaboklab(21.86% -0.0014 -0.0248)
OKLCHoklch(21.86% 0.025 266.9)
XYZxyz(1.0284, 1.0381, 1.9795)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A26 #262115
analogous
#152326 #151A26 #191526
triadic
#151A26 #26151A #1A2615
tetradic
#151A26 #261523 #262115 #152619
square
#151A26 #261523 #262115 #152619
split-complementary
#151A26 #261915 #232615
monochromatic
#0B0D14 #0B0D14 #151A26 #2B354D #415075

Accessibility & contrast

On white

17.39
#151A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A26
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A26#FFFFFF#000000##FFFFFF
##151A261.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B27
Deuteranopia (green-blind)
#141926
Tritanopia (blue-blind)
#101C1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #151a26;
/* rgb */ color: rgb(21, 26, 38);
/* oklch */ color: oklch(21.9% 0.025 266.9);
Tailwind
colors: {
  custom: {
    50: '#535660',
    500: '#151a26',
    950: '#000000',
  },
}
SCSS
$custom: #151a26;
$custom-light: #535660;
$custom-dark: #000000;
JSON
{
  "hex": "#151a26",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 222.353,
    "s": 28.814,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21864,
    "c": 0.02487,
    "h": 266.9
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#151A26
secondary
#5B523C
accent
#A863C5
background
#F4F5F5
surface
#E7E8E9
border
#C3C4C5
text
#020304
muted
#787879

Preview Lab

Preview with #151A26

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

Preview Lab → · Contrast checker → · Palette generator →

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