#151D2B#151D2B

#151D2B is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.0% C 0.030 H 261.3°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#151D2B
RGBrgb(21, 29, 43)
HSLhsl(218, 34%, 13%)
HSVhsv(218, 51%, 17%)
CMYKcmyk(51.2%, 32.6%, 0%, 83.1%)
CIE-LABlab(10.65, 1.06, -10.57)
CIE-LCHlch(10.65, 10.62, 275.70°)
OKLaboklab(23% -0.0045 -0.0294)
OKLCHoklch(23% 0.03 261.3)
XYZxyz(1.1845, 1.2125, 2.4567)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D2B #2B2315
analogous
#15282B #151D2B #18152B
triadic
#151D2B #2B151D #1D2B15
tetradic
#151D2B #2B1528 #2B2315 #152B18
square
#151D2B #2B1528 #2B2315 #152B18
split-complementary
#151D2B #2B1815 #282B15
monochromatic
#0A0E15 #0A0E15 #151D2B #293954 #3D547D

Accessibility & contrast

On white

16.90
#151D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D2B
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D2B#FFFFFF#000000##FFFFFF
##151D2B1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2C
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#0D2022
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151d2b;
/* rgb */ color: rgb(21, 29, 43);
/* oklch */ color: oklch(23.0% 0.030 261.3);
Tailwind
colors: {
  custom: {
    50: '#535864',
    500: '#151d2b',
    950: '#000000',
  },
}
SCSS
$custom: #151d2b;
$custom-light: #535864;
$custom-dark: #000000;
JSON
{
  "hex": "#151d2b",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 218.182,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23002,
    "c": 0.02978,
    "h": 261.3
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#151D2B
secondary
#61533B
accent
#A35DCA
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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