#151D2C#151D2C

#151D2C is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.1% C 0.032 H 262.5°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#151D2C
RGBrgb(21, 29, 44)
HSLhsl(219, 35%, 13%)
HSVhsv(219, 52%, 17%)
CMYKcmyk(52.3%, 34.1%, 0%, 82.7%)
CIE-LABlab(10.70, 1.43, -11.21)
CIE-LCHlch(10.70, 11.30, 277.25°)
OKLaboklab(23.06% -0.0041 -0.0313)
OKLCHoklch(23.06% 0.032 262.5)
XYZxyz(1.2031, 1.2199, 2.5545)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D2C #2C2415
analogous
#15282C #151D2C #18152C
triadic
#151D2C #2C151D #1D2C15
tetradic
#151D2C #2C1528 #2C2415 #152C18
square
#151D2C #2C1528 #2C2415 #152C18
split-complementary
#151D2C #2C1815 #282C15
monochromatic
#0A0E15 #0A0E15 #151D2C #293855 #3D547F

Accessibility & contrast

On white

16.88
#151D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D2C
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D2C#FFFFFF#000000##FFFFFF
##151D2C1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2D
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#0D2022
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151d2c;
/* rgb */ color: rgb(21, 29, 44);
/* oklch */ color: oklch(23.1% 0.032 262.5);
Tailwind
colors: {
  custom: {
    50: '#535865',
    500: '#151d2c',
    950: '#000000',
  },
}
SCSS
$custom: #151d2c;
$custom-light: #535865;
$custom-dark: #000000;
JSON
{
  "hex": "#151d2c",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 44
  },
  "hsl": {
    "h": 219.13,
    "s": 35.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23062,
    "c": 0.03156,
    "h": 262.5
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#151D2C
secondary
#62543B
accent
#A55CCB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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