#151D2E#151D2E

#151D2E is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.2% C 0.035 H 264.5°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#151D2E
RGBrgb(21, 29, 46)
HSLhsl(221, 37%, 13%)
HSVhsv(221, 54%, 18%)
CMYKcmyk(54.3%, 37%, 0%, 82%)
CIE-LABlab(10.82, 2.17, -12.50)
CIE-LCHlch(10.82, 12.69, 279.86°)
OKLaboklab(23.19% -0.0033 -0.035)
OKLCHoklch(23.19% 0.035 264.5)
XYZxyz(1.2416, 1.2353, 2.7573)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D2E #2E2615
analogous
#15292E #151D2E #19152E
triadic
#151D2E #2E151D #1D2E15
tetradic
#151D2E #2E1529 #2E2615 #152E19
square
#151D2E #2E1529 #2E2615 #152E19
split-complementary
#151D2E #2E1915 #292E15
monochromatic
#0A0D15 #0A0D15 #151D2E #283758 #3B5282

Accessibility & contrast

On white

16.84
#151D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D2E
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D2E#FFFFFF#000000##FFFFFF
##151D2E1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2F
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#0C2123
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151d2e;
/* rgb */ color: rgb(21, 29, 46);
/* oklch */ color: oklch(23.2% 0.035 264.5);
Tailwind
colors: {
  custom: {
    50: '#545866',
    500: '#151d2e',
    950: '#000000',
  },
}
SCSS
$custom: #151d2e;
$custom-light: #545866;
$custom-dark: #000000;
JSON
{
  "hex": "#151d2e",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 220.8,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23186,
    "c": 0.03515,
    "h": 264.5
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#151D2E
secondary
#64573B
accent
#A95BCD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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