#151C2E#151C2E

#151C2E is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.9% C 0.037 H 267.3°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#151C2E
RGBrgb(21, 28, 46)
HSLhsl(223, 37%, 13%)
HSVhsv(223, 54%, 18%)
CMYKcmyk(54.3%, 39.1%, 0%, 82%)
CIE-LABlab(10.46, 2.93, -13.05)
CIE-LCHlch(10.46, 13.37, 282.65°)
OKLaboklab(22.91% -0.0017 -0.0366)
OKLCHoklch(22.91% 0.037 267.3)
XYZxyz(1.2175, 1.1871, 2.7492)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C2E #2E2715
analogous
#15282E #151C2E #1A152E
triadic
#151C2E #2E151C #1C2E15
tetradic
#151C2E #2E1528 #2E2715 #152E1A
square
#151C2E #2E1528 #2E2715 #152E1A
split-complementary
#151C2E #2E1A15 #282E15
monochromatic
#0A0D15 #0A0D15 #151C2E #283658 #3B4F82

Accessibility & contrast

On white

16.97
#151C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C2E
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C2E#FFFFFF#000000##FFFFFF
##151C2E1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#131B2E
Tritanopia (blue-blind)
#0C2022
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151c2e;
/* rgb */ color: rgb(21, 28, 46);
/* oklch */ color: oklch(22.9% 0.037 267.3);
Tailwind
colors: {
  custom: {
    50: '#545766',
    500: '#151c2e',
    950: '#000000',
  },
}
SCSS
$custom: #151c2e;
$custom-light: #545766;
$custom-dark: #000000;
JSON
{
  "hex": "#151c2e",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 223.2,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22911,
    "c": 0.03663,
    "h": 267.3
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#151C2E
secondary
#64593B
accent
#AD5BCD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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