#151C2F#151C2F

#151C2F is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.0% C 0.038 H 267.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#151C2F
RGBrgb(21, 28, 47)
HSLhsl(224, 38%, 13%)
HSVhsv(224, 55%, 18%)
CMYKcmyk(55.3%, 40.4%, 0%, 81.6%)
CIE-LABlab(10.52, 3.31, -13.69)
CIE-LCHlch(10.52, 14.08, 283.59°)
OKLaboklab(22.98% -0.0014 -0.0384)
OKLCHoklch(22.98% 0.038 267.9)
XYZxyz(1.2374, 1.1951, 2.8542)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C2F #2F2815
analogous
#15292F #151C2F #1B152F
triadic
#151C2F #2F151C #1C2F15
tetradic
#151C2F #2F1529 #2F2815 #152F1B
square
#151C2F #2F1529 #2F2815 #152F1B
split-complementary
#151C2F #2F1B15 #292F15
monochromatic
#090D15 #090D15 #151C2F #283559 #3B4E84

Accessibility & contrast

On white

16.95
#151C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C2F
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C2F#FFFFFF#000000##FFFFFF
##151C2F1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151E30
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#0B2023
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151c2f;
/* rgb */ color: rgb(21, 28, 47);
/* oklch */ color: oklch(23.0% 0.038 267.9);
Tailwind
colors: {
  custom: {
    50: '#545767',
    500: '#151c2f',
    950: '#000000',
  },
}
SCSS
$custom: #151c2f;
$custom-light: #545767;
$custom-dark: #000000;
JSON
{
  "hex": "#151c2f",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 223.846,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22976,
    "c": 0.03847,
    "h": 267.9
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#151C2F
secondary
#655A3B
accent
#AF5ACE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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