#151B2B#151B2B

#151B2B is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.4% C 0.033 H 268.0°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#151B2B
RGBrgb(21, 27, 43)
HSLhsl(224, 34%, 13%)
HSVhsv(224, 51%, 17%)
CMYKcmyk(51.2%, 37.2%, 0%, 83.1%)
CIE-LABlab(9.94, 2.56, -11.68)
CIE-LCHlch(9.94, 11.95, 282.38°)
OKLaboklab(22.45% -0.0011 -0.0326)
OKLCHoklch(22.45% 0.033 268)
XYZxyz(1.1371, 1.1177, 2.4408)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B2B #2B2515
analogous
#15262B #151B2B #1A152B
triadic
#151B2B #2B151B #1B2B15
tetradic
#151B2B #2B1526 #2B2515 #152B1A
square
#151B2B #2B1526 #2B2515 #152B1A
split-complementary
#151B2B #2B1A15 #262B15
monochromatic
#0A0D15 #0A0D15 #151B2B #293554 #3D4F7D

Accessibility & contrast

On white

17.16
#151B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#151B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B2B
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B2B#FFFFFF#000000##FFFFFF
##151B2B1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2C
Deuteranopia (green-blind)
#131A2B
Tritanopia (blue-blind)
#0E1E21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151b2b;
/* rgb */ color: rgb(21, 27, 43);
/* oklch */ color: oklch(22.4% 0.033 268.0);
Tailwind
colors: {
  custom: {
    50: '#535764',
    500: '#151b2b',
    950: '#000000',
  },
}
SCSS
$custom: #151b2b;
$custom-light: #535764;
$custom-dark: #000000;
JSON
{
  "hex": "#151b2b",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 223.636,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22445,
    "c": 0.03265,
    "h": 268
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#151B2B
secondary
#61563B
accent
#AD5DCA
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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