#151C2B#151C2B

#151C2B is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.7% C 0.031 H 264.8°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#151C2B
RGBrgb(21, 28, 43)
HSLhsl(221, 34%, 13%)
HSVhsv(221, 51%, 17%)
CMYKcmyk(51.2%, 34.9%, 0%, 83.1%)
CIE-LABlab(10.29, 1.81, -11.12)
CIE-LCHlch(10.29, 11.27, 279.22°)
OKLaboklab(22.72% -0.0028 -0.031)
OKLCHoklch(22.72% 0.031 264.8)
XYZxyz(1.1604, 1.1643, 2.4486)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C2B #2B2415
analogous
#15272B #151C2B #19152B
triadic
#151C2B #2B151C #1C2B15
tetradic
#151C2B #2B1527 #2B2415 #152B19
square
#151C2B #2B1527 #2B2415 #152B19
split-complementary
#151C2B #2B1915 #272B15
monochromatic
#0A0D15 #0A0D15 #151C2B #293754 #3D527D

Accessibility & contrast

On white

17.03
#151C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C2B
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C2B#FFFFFF#000000##FFFFFF
##151C2B1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171D2C
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#0D1F21
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151c2b;
/* rgb */ color: rgb(21, 28, 43);
/* oklch */ color: oklch(22.7% 0.031 264.8);
Tailwind
colors: {
  custom: {
    50: '#535764',
    500: '#151c2b',
    950: '#000000',
  },
}
SCSS
$custom: #151c2b;
$custom-light: #535764;
$custom-dark: #000000;
JSON
{
  "hex": "#151c2b",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 220.909,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22722,
    "c": 0.03116,
    "h": 264.8
  },
  "luminance": 0.01164
}

Semantic roles & 50–950 ramp

primary
#151C2B
secondary
#61553B
accent
#A85DCA
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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