#151A28#151A28

#151A28 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.0% C 0.029 H 268.9°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#151A28
RGBrgb(21, 26, 40)
HSLhsl(224, 31%, 12%)
HSVhsv(224, 48%, 16%)
CMYKcmyk(47.5%, 35%, 0%, 84.3%)
CIE-LABlab(9.41, 2.23, -10.28)
CIE-LCHlch(9.41, 10.52, 282.22°)
OKLaboklab(21.98% -0.0006 -0.0286)
OKLCHoklch(21.98% 0.029 268.9)
XYZxyz(1.0615, 1.0514, 2.1541)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A28 #282315
analogous
#152428 #151A28 #1A1528
triadic
#151A28 #28151A #1A2815
tetradic
#151A28 #281524 #282315 #15281A
square
#151A28 #281524 #282315 #15281A
split-complementary
#151A28 #281A15 #242815
monochromatic
#0B0D14 #0B0D14 #151A28 #2A3450 #3F4E78

Accessibility & contrast

On white

17.35
#151A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A28
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A28#FFFFFF#000000##FFFFFF
##151A281.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#141A28
Tritanopia (blue-blind)
#0F1D1F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #151a28;
/* rgb */ color: rgb(21, 26, 40);
/* oklch */ color: oklch(22.0% 0.029 268.9);
Tailwind
colors: {
  custom: {
    50: '#535662',
    500: '#151a28',
    950: '#000000',
  },
}
SCSS
$custom: #151a28;
$custom-light: #535662;
$custom-dark: #000000;
JSON
{
  "hex": "#151a28",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 224.211,
    "s": 31.148,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21983,
    "c": 0.02861,
    "h": 268.9
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#151A28
secondary
#5D543C
accent
#AC60C7
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#020305
muted
#787879

Preview Lab

Preview with #151A28

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

Preview Lab → · Contrast checker → · Palette generator →

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