#151D2D#151D2D

#151D2D is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.1% C 0.033 H 263.6°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#151D2D
RGBrgb(21, 29, 45)
HSLhsl(220, 36%, 13%)
HSVhsv(220, 53%, 18%)
CMYKcmyk(53.3%, 35.6%, 0%, 82.4%)
CIE-LABlab(10.76, 1.79, -11.86)
CIE-LCHlch(10.76, 11.99, 278.61°)
OKLaboklab(23.12% -0.0037 -0.0331)
OKLCHoklch(23.12% 0.033 263.6)
XYZxyz(1.2221, 1.2276, 2.6547)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D2D #2D2515
analogous
#15292D #151D2D #19152D
triadic
#151D2D #2D151D #1D2D15
tetradic
#151D2D #2D1529 #2D2515 #152D19
square
#151D2D #2D1529 #2D2515 #152D19
split-complementary
#151D2D #2D1915 #292D15
monochromatic
#0A0D15 #0A0D15 #151D2D #283857 #3C5380

Accessibility & contrast

On white

16.86
#151D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#151D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D2D
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D2D#FFFFFF#000000##FFFFFF
##151D2D1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2E
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#0C2023
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151d2d;
/* rgb */ color: rgb(21, 29, 45);
/* oklch */ color: oklch(23.1% 0.033 263.6);
Tailwind
colors: {
  custom: {
    50: '#535866',
    500: '#151d2d',
    950: '#000000',
  },
}
SCSS
$custom: #151d2d;
$custom-light: #535866;
$custom-dark: #000000;
JSON
{
  "hex": "#151d2d",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 220,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23123,
    "c": 0.03336,
    "h": 263.6
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#151D2D
secondary
#63563B
accent
#A75BCC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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