#151C2A#151C2A

#151C2A is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.7% C 0.029 H 263.7°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#151C2A
RGBrgb(21, 28, 42)
HSLhsl(220, 33%, 12%)
HSVhsv(220, 50%, 16%)
CMYKcmyk(50%, 33.3%, 0%, 83.5%)
CIE-LABlab(10.24, 1.44, -10.47)
CIE-LCHlch(10.24, 10.57, 277.84°)
OKLaboklab(22.66% -0.0032 -0.0292)
OKLCHoklch(22.66% 0.029 263.7)
XYZxyz(1.1423, 1.1570, 2.3532)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C2A #2A2315
analogous
#15272A #151C2A #19152A
triadic
#151C2A #2A151C #1C2A15
tetradic
#151C2A #2A1527 #2A2315 #152A19
square
#151C2A #2A1527 #2A2315 #152A19
split-complementary
#151C2A #2A1915 #272A15
monochromatic
#0A0E14 #0A0E14 #151C2A #293753 #3E527C

Accessibility & contrast

On white

17.05
#151C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C2A
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C2A#FFFFFF#000000##FFFFFF
##151C2A1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171D2B
Deuteranopia (green-blind)
#151B2A
Tritanopia (blue-blind)
#0E1F21
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151c2a;
/* rgb */ color: rgb(21, 28, 42);
/* oklch */ color: oklch(22.7% 0.029 263.7);
Tailwind
colors: {
  custom: {
    50: '#535763',
    500: '#151c2a',
    950: '#000000',
  },
}
SCSS
$custom: #151c2a;
$custom-light: #535763;
$custom-dark: #000000;
JSON
{
  "hex": "#151c2a",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 220,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22662,
    "c": 0.02935,
    "h": 263.7
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#151C2A
secondary
#5F533B
accent
#A65EC9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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