#151D2A#151D2A

#151D2A is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.9% C 0.028 H 259.9°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#151D2A
RGBrgb(21, 29, 42)
HSLhsl(217, 33%, 12%)
HSVhsv(217, 50%, 16%)
CMYKcmyk(50%, 31%, 0%, 83.5%)
CIE-LABlab(10.60, 0.69, -9.92)
CIE-LCHlch(10.60, 9.94, 273.98°)
OKLaboklab(22.94% -0.0049 -0.0276)
OKLCHoklch(22.94% 0.028 259.9)
XYZxyz(1.1664, 1.2053, 2.3612)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D2A #2A2215
analogous
#15282A #151D2A #18152A
triadic
#151D2A #2A151D #1D2A15
tetradic
#151D2A #2A1528 #2A2215 #152A18
square
#151D2A #2A1528 #2A2215 #152A18
split-complementary
#151D2A #2A1815 #282A15
monochromatic
#0A0E14 #0A0E14 #151D2A #293953 #3E557C

Accessibility & contrast

On white

16.92
#151D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D2A
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D2A#FFFFFF#000000##FFFFFF
##151D2A1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2B
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#0E2021
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151d2a;
/* rgb */ color: rgb(21, 29, 42);
/* oklch */ color: oklch(22.9% 0.028 259.9);
Tailwind
colors: {
  custom: {
    50: '#535863',
    500: '#151d2a',
    950: '#000000',
  },
}
SCSS
$custom: #151d2a;
$custom-light: #535863;
$custom-dark: #000000;
JSON
{
  "hex": "#151d2a",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 217.143,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22942,
    "c": 0.028,
    "h": 259.9
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#151D2A
secondary
#5F523B
accent
#A15EC9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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