#151A2D#151A2D

#151A2D is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.3% C 0.038 H 271.8°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#151A2D
RGBrgb(21, 26, 45)
HSLhsl(228, 36%, 13%)
HSVhsv(228, 53%, 18%)
CMYKcmyk(53.3%, 42.2%, 0%, 82.4%)
CIE-LABlab(9.70, 4.08, -13.51)
CIE-LCHlch(9.70, 14.11, 286.80°)
OKLaboklab(22.3% 0.0012 -0.0379)
OKLCHoklch(22.3% 0.038 271.8)
XYZxyz(1.1522, 1.0876, 2.6313)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A2D #2D2815
analogous
#15262D #151A2D #1C152D
triadic
#151A2D #2D151A #1A2D15
tetradic
#151A2D #2D1526 #2D2815 #152D1C
square
#151A2D #2D1526 #2D2815 #152D1C
split-complementary
#151A2D #2D1C15 #262D15
monochromatic
#0A0C15 #0A0C15 #151A2D #283257 #3C4A80

Accessibility & contrast

On white

17.25
#151A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A2D
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A2D#FFFFFF#000000##FFFFFF
##151A2D1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2E
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#0D1E21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151a2d;
/* rgb */ color: rgb(21, 26, 45);
/* oklch */ color: oklch(22.3% 0.038 271.8);
Tailwind
colors: {
  custom: {
    50: '#545666',
    500: '#151a2d',
    950: '#000000',
  },
}
SCSS
$custom: #151a2d;
$custom-light: #545666;
$custom-dark: #000000;
JSON
{
  "hex": "#151a2d",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 227.5,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22302,
    "c": 0.03796,
    "h": 271.8
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#151A2D
secondary
#635B3B
accent
#B55BCC
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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