#151B2A#151B2A

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

Color values

HEX#151B2A
RGBrgb(21, 27, 42)
HSLhsl(223, 33%, 12%)
HSVhsv(223, 50%, 16%)
CMYKcmyk(50%, 35.7%, 0%, 83.5%)
CIE-LABlab(9.88, 2.20, -11.03)
CIE-LCHlch(9.88, 11.25, 281.27°)
OKLaboklab(22.38% -0.0015 -0.0308)
OKLCHoklch(22.38% 0.031 267.2)
XYZxyz(1.1190, 1.1104, 2.3454)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B2A #2A2415
analogous
#15262A #151B2A #1A152A
triadic
#151B2A #2A151B #1B2A15
tetradic
#151B2A #2A1526 #2A2415 #152A1A
square
#151B2A #2A1526 #2A2415 #152A1A
split-complementary
#151B2A #2A1A15 #262A15
monochromatic
#0A0D14 #0A0D14 #151B2A #293553 #3E4F7C

Accessibility & contrast

On white

17.18
#151B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B2A
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B2A#FFFFFF#000000##FFFFFF
##151B2A1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C2B
Deuteranopia (green-blind)
#141A2A
Tritanopia (blue-blind)
#0E1E20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151b2a;
/* rgb */ color: rgb(21, 27, 42);
/* oklch */ color: oklch(22.4% 0.031 267.2);
Tailwind
colors: {
  custom: {
    50: '#535763',
    500: '#151b2a',
    950: '#000000',
  },
}
SCSS
$custom: #151b2a;
$custom-light: #535763;
$custom-dark: #000000;
JSON
{
  "hex": "#151b2a",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 222.857,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22383,
    "c": 0.0308,
    "h": 267.2
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#151B2A
secondary
#5F553B
accent
#AB5EC9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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