#151F2E#151F2E

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

Color values

HEX#151F2E
RGBrgb(21, 31, 46)
HSLhsl(216, 37%, 13%)
HSVhsv(216, 54%, 18%)
CMYKcmyk(54.3%, 32.6%, 0%, 82%)
CIE-LABlab(11.53, 0.67, -11.39)
CIE-LCHlch(11.53, 11.41, 273.39°)
OKLaboklab(23.74% -0.0066 -0.0318)
OKLCHoklch(23.74% 0.032 258.3)
XYZxyz(1.2922, 1.3366, 2.7741)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F2E #2E2415
analogous
#152B2E #151F2E #17152E
triadic
#151F2E #2E151F #1F2E15
tetradic
#151F2E #2E152B #2E2415 #152E17
square
#151F2E #2E152B #2E2415 #152E17
split-complementary
#151F2E #2E1715 #2B2E15
monochromatic
#0A0E15 #0A0E15 #151F2E #283B58 #3B5882

Accessibility & contrast

On white

16.57
#151F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F2E
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F2E#FFFFFF#000000##FFFFFF
##151F2E1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19202F
Deuteranopia (green-blind)
#171D2E
Tritanopia (blue-blind)
#0B2224
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151f2e;
/* rgb */ color: rgb(21, 31, 46);
/* oklch */ color: oklch(23.7% 0.032 258.3);
Tailwind
colors: {
  custom: {
    50: '#545a66',
    500: '#151f2e',
    950: '#000000',
  },
}
SCSS
$custom: #151f2e;
$custom-light: #545a66;
$custom-dark: #000000;
JSON
{
  "hex": "#151f2e",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 216,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23743,
    "c": 0.03246,
    "h": 258.3
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#151F2E
secondary
#64543B
accent
#9F5BCD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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