#151A2B#151A2B

#151A2B is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.2% C 0.034 H 270.9°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#151A2B
RGBrgb(21, 26, 43)
HSLhsl(226, 34%, 13%)
HSVhsv(226, 51%, 17%)
CMYKcmyk(51.2%, 39.5%, 0%, 83.1%)
CIE-LABlab(9.58, 3.33, -12.23)
CIE-LCHlch(9.58, 12.67, 285.23°)
OKLaboklab(22.17% 0.0005 -0.0342)
OKLCHoklch(22.17% 0.034 270.9)
XYZxyz(1.1146, 1.0726, 2.4333)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A2B #2B2615
analogous
#15252B #151A2B #1B152B
triadic
#151A2B #2B151A #1A2B15
tetradic
#151A2B #2B1525 #2B2615 #152B1B
square
#151A2B #2B1525 #2B2615 #152B1B
split-complementary
#151A2B #2B1B15 #252B15
monochromatic
#0A0C15 #0A0C15 #151A2B #293354 #3D4C7D

Accessibility & contrast

On white

17.29
#151A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A2B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A2B#FFFFFF#000000##FFFFFF
##151A2B1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2C
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#0E1D20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151a2b;
/* rgb */ color: rgb(21, 26, 43);
/* oklch */ color: oklch(22.2% 0.034 270.9);
Tailwind
colors: {
  custom: {
    50: '#535664',
    500: '#151a2b',
    950: '#000000',
  },
}
SCSS
$custom: #151a2b;
$custom-light: #535664;
$custom-dark: #000000;
JSON
{
  "hex": "#151a2b",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 226.364,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22171,
    "c": 0.03422,
    "h": 270.9
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#151A2B
secondary
#61583B
accent
#B25DCA
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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