#151A2A#151A2A

#151A2A is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.1% C 0.032 H 270.3°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#151A2A
RGBrgb(21, 26, 42)
HSLhsl(226, 33%, 12%)
HSVhsv(226, 50%, 16%)
CMYKcmyk(50%, 38.1%, 0%, 83.5%)
CIE-LABlab(9.52, 2.96, -11.58)
CIE-LCHlch(9.52, 11.95, 284.32°)
OKLaboklab(22.11% 0.0002 -0.0323)
OKLCHoklch(22.11% 0.032 270.3)
XYZxyz(1.0964, 1.0653, 2.3379)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A2A #2A2515
analogous
#15252A #151A2A #1B152A
triadic
#151A2A #2A151A #1A2A15
tetradic
#151A2A #2A1525 #2A2515 #152A1B
square
#151A2A #2A1525 #2A2515 #152A1B
split-complementary
#151A2A #2A1B15 #252A15
monochromatic
#0A0D14 #0A0D14 #151A2A #293353 #3E4D7C

Accessibility & contrast

On white

17.31
#151A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#151A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A2A
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A2A#FFFFFF#000000##FFFFFF
##151A2A1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B2B
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#0E1D20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151a2a;
/* rgb */ color: rgb(21, 26, 42);
/* oklch */ color: oklch(22.1% 0.032 270.3);
Tailwind
colors: {
  custom: {
    50: '#535663',
    500: '#151a2a',
    950: '#000000',
  },
}
SCSS
$custom: #151a2a;
$custom-light: #535663;
$custom-dark: #000000;
JSON
{
  "hex": "#151a2a",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 225.714,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22107,
    "c": 0.03235,
    "h": 270.3
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#151A2A
secondary
#5F573B
accent
#B05EC9
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#020305
muted
#787879

Preview Lab

Preview with #151A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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