#151C2C#151C2C

#151C2C is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.8% C 0.033 H 265.7°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#151C2C
RGBrgb(21, 28, 44)
HSLhsl(222, 35%, 13%)
HSVhsv(222, 52%, 17%)
CMYKcmyk(52.3%, 36.4%, 0%, 82.7%)
CIE-LABlab(10.35, 2.18, -11.77)
CIE-LCHlch(10.35, 11.97, 280.49°)
OKLaboklab(22.78% -0.0024 -0.0329)
OKLCHoklch(22.78% 0.033 265.7)
XYZxyz(1.1790, 1.1717, 2.5464)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C2C #2C2515
analogous
#15272C #151C2C #19152C
triadic
#151C2C #2C151C #1C2C15
tetradic
#151C2C #2C1527 #2C2515 #152C19
square
#151C2C #2C1527 #2C2515 #152C19
split-complementary
#151C2C #2C1915 #272C15
monochromatic
#0A0D15 #0A0D15 #151C2C #293655 #3D517F

Accessibility & contrast

On white

17.01
#151C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C2C
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C2C#FFFFFF#000000##FFFFFF
##151C2C1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2D
Deuteranopia (green-blind)
#141B2C
Tritanopia (blue-blind)
#0D1F22
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151c2c;
/* rgb */ color: rgb(21, 28, 44);
/* oklch */ color: oklch(22.8% 0.033 265.7);
Tailwind
colors: {
  custom: {
    50: '#535765',
    500: '#151c2c',
    950: '#000000',
  },
}
SCSS
$custom: #151c2c;
$custom-light: #535765;
$custom-dark: #000000;
JSON
{
  "hex": "#151c2c",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 221.739,
    "s": 35.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22784,
    "c": 0.03298,
    "h": 265.7
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#151C2C
secondary
#62563B
accent
#AA5CCB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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