#151B2D#151B2D

#151B2D is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.6% C 0.036 H 269.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#151B2D
RGBrgb(21, 27, 45)
HSLhsl(225, 36%, 13%)
HSVhsv(225, 53%, 18%)
CMYKcmyk(53.3%, 40%, 0%, 82.4%)
CIE-LABlab(10.05, 3.31, -12.96)
CIE-LCHlch(10.05, 13.38, 284.33°)
OKLaboklab(22.57% -0.0004 -0.0363)
OKLCHoklch(22.57% 0.036 269.3)
XYZxyz(1.1747, 1.1327, 2.6388)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B2D #2D2715
analogous
#15272D #151B2D #1B152D
triadic
#151B2D #2D151B #1B2D15
tetradic
#151B2D #2D1527 #2D2715 #152D1B
square
#151B2D #2D1527 #2D2715 #152D1B
split-complementary
#151B2D #2D1B15 #272D15
monochromatic
#0A0D15 #0A0D15 #151B2D #283457 #3C4D80

Accessibility & contrast

On white

17.12
#151B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B2D
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B2D#FFFFFF#000000##FFFFFF
##151B2D1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151D2E
Deuteranopia (green-blind)
#121B2D
Tritanopia (blue-blind)
#0D1F21
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151b2d;
/* rgb */ color: rgb(21, 27, 45);
/* oklch */ color: oklch(22.6% 0.036 269.3);
Tailwind
colors: {
  custom: {
    50: '#545766',
    500: '#151b2d',
    950: '#000000',
  },
}
SCSS
$custom: #151b2d;
$custom-light: #545766;
$custom-dark: #000000;
JSON
{
  "hex": "#151b2d",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 225,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22573,
    "c": 0.03634,
    "h": 269.3
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#151B2D
secondary
#63593B
accent
#B05BCC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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