#151D2F#151D2F

#151D2F is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.3% C 0.037 H 265.3°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#151D2F
RGBrgb(21, 29, 47)
HSLhsl(222, 38%, 13%)
HSVhsv(222, 55%, 18%)
CMYKcmyk(55.3%, 38.3%, 0%, 81.6%)
CIE-LABlab(10.87, 2.55, -13.13)
CIE-LCHlch(10.87, 13.38, 281.00°)
OKLaboklab(23.25% -0.003 -0.0368)
OKLCHoklch(23.25% 0.037 265.3)
XYZxyz(1.2616, 1.2433, 2.8623)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D2F #2F2715
analogous
#152A2F #151D2F #1A152F
triadic
#151D2F #2F151D #1D2F15
tetradic
#151D2F #2F152A #2F2715 #152F1A
square
#151D2F #2F152A #2F2715 #152F1A
split-complementary
#151D2F #2F1A15 #2A2F15
monochromatic
#090D15 #090D15 #151D2F #283759 #3B5184

Accessibility & contrast

On white

16.82
#151D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D2F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D2F#FFFFFF#000000##FFFFFF
##151D2F1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#0B2123
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151d2f;
/* rgb */ color: rgb(21, 29, 47);
/* oklch */ color: oklch(23.3% 0.037 265.3);
Tailwind
colors: {
  custom: {
    50: '#545867',
    500: '#151d2f',
    950: '#000000',
  },
}
SCSS
$custom: #151d2f;
$custom-light: #545867;
$custom-dark: #000000;
JSON
{
  "hex": "#151d2f",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 221.538,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2325,
    "c": 0.03695,
    "h": 265.3
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#151D2F
secondary
#65583B
accent
#AA5ACE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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