#151F2D#151F2D

#151F2D is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.7% C 0.031 H 256.9°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#151F2D
RGBrgb(21, 31, 45)
HSLhsl(215, 36%, 13%)
HSVhsv(215, 53%, 18%)
CMYKcmyk(53.3%, 31.1%, 0%, 82.4%)
CIE-LABlab(11.48, 0.30, -10.74)
CIE-LCHlch(11.48, 10.75, 271.61°)
OKLaboklab(23.68% -0.007 -0.0299)
OKLCHoklch(23.68% 0.031 256.9)
XYZxyz(1.2727, 1.3288, 2.6715)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F2D #2D2315
analogous
#152B2D #151F2D #17152D
triadic
#151F2D #2D151F #1F2D15
tetradic
#151F2D #2D152B #2D2315 #152D17
square
#151F2D #2D152B #2D2315 #152D17
split-complementary
#151F2D #2D1715 #2B2D15
monochromatic
#0A0E15 #0A0E15 #151F2D #283C57 #3C5880

Accessibility & contrast

On white

16.59
#151F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F2D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F2D#FFFFFF#000000##FFFFFF
##151F2D1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202E
Deuteranopia (green-blind)
#171D2D
Tritanopia (blue-blind)
#0C2224
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151f2d;
/* rgb */ color: rgb(21, 31, 45);
/* oklch */ color: oklch(23.7% 0.031 256.9);
Tailwind
colors: {
  custom: {
    50: '#535a66',
    500: '#151f2d',
    950: '#000000',
  },
}
SCSS
$custom: #151f2d;
$custom-light: #535a66;
$custom-dark: #000000;
JSON
{
  "hex": "#151f2d",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 215,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23683,
    "c": 0.03074,
    "h": 256.9
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#151F2D
secondary
#63523B
accent
#9D5BCC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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