#151E2B#151E2B

#151E2B is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.3% C 0.029 H 257.5°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#151E2B
RGBrgb(21, 30, 43)
HSLhsl(215, 34%, 13%)
HSVhsv(215, 51%, 17%)
CMYKcmyk(51.2%, 30.2%, 0%, 83.1%)
CIE-LABlab(11.01, 0.31, -10.01)
CIE-LCHlch(11.01, 10.02, 271.78°)
OKLaboklab(23.28% -0.0062 -0.0278)
OKLCHoklch(23.28% 0.029 257.5)
XYZxyz(1.2094, 1.2623, 2.4650)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E2B #2B2215
analogous
#15292B #151E2B #17152B
triadic
#151E2B #2B151E #1E2B15
tetradic
#151E2B #2B1529 #2B2215 #152B17
square
#151E2B #2B1529 #2B2215 #152B17
split-complementary
#151E2B #2B1715 #292B15
monochromatic
#0A0E15 #0A0E15 #151E2B #293B54 #3D577D

Accessibility & contrast

On white

16.77
#151E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#151E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E2B
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E2B#FFFFFF#000000##FFFFFF
##151E2B1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2C
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#0D2122
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151e2b;
/* rgb */ color: rgb(21, 30, 43);
/* oklch */ color: oklch(23.3% 0.029 257.5);
Tailwind
colors: {
  custom: {
    50: '#535964',
    500: '#151e2b',
    950: '#000000',
  },
}
SCSS
$custom: #151e2b;
$custom-light: #535964;
$custom-dark: #000000;
JSON
{
  "hex": "#151e2b",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 215.455,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23283,
    "c": 0.02851,
    "h": 257.5
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#151E2B
secondary
#61513B
accent
#9E5DCA
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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