#151C2D#151C2D

#151C2D is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.8% C 0.035 H 266.6°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#151C2D
RGBrgb(21, 28, 45)
HSLhsl(223, 36%, 13%)
HSVhsv(223, 53%, 18%)
CMYKcmyk(53.3%, 37.8%, 0%, 82.4%)
CIE-LABlab(10.40, 2.55, -12.41)
CIE-LCHlch(10.40, 12.67, 281.62°)
OKLaboklab(22.85% -0.0021 -0.0348)
OKLCHoklch(22.85% 0.035 266.6)
XYZxyz(1.1980, 1.1793, 2.6466)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C2D #2D2615
analogous
#15282D #151C2D #1A152D
triadic
#151C2D #2D151C #1C2D15
tetradic
#151C2D #2D1528 #2D2615 #152D1A
square
#151C2D #2D1528 #2D2615 #152D1A
split-complementary
#151C2D #2D1A15 #282D15
monochromatic
#0A0D15 #0A0D15 #151C2D #283657 #3C5080

Accessibility & contrast

On white

16.99
#151C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C2D
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C2D#FFFFFF#000000##FFFFFF
##151C2D1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2E
Deuteranopia (green-blind)
#141B2D
Tritanopia (blue-blind)
#0C2022
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151c2d;
/* rgb */ color: rgb(21, 28, 45);
/* oklch */ color: oklch(22.8% 0.035 266.6);
Tailwind
colors: {
  custom: {
    50: '#535766',
    500: '#151c2d',
    950: '#000000',
  },
}
SCSS
$custom: #151c2d;
$custom-light: #535766;
$custom-dark: #000000;
JSON
{
  "hex": "#151c2d",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 222.5,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22847,
    "c": 0.03481,
    "h": 266.6
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#151C2D
secondary
#63573B
accent
#AB5BCC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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