#151E2C#151E2C

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

Color values

HEX#151E2C
RGBrgb(21, 30, 44)
HSLhsl(217, 35%, 13%)
HSVhsv(217, 52%, 17%)
CMYKcmyk(52.3%, 31.8%, 0%, 82.7%)
CIE-LABlab(11.06, 0.68, -10.66)
CIE-LCHlch(11.06, 10.68, 273.63°)
OKLaboklab(23.34% -0.0057 -0.0297)
OKLCHoklch(23.34% 0.03 259)
XYZxyz(1.2280, 1.2698, 2.5628)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E2C #2C2315
analogous
#15292C #151E2C #17152C
triadic
#151E2C #2C151E #1E2C15
tetradic
#151E2C #2C1529 #2C2315 #152C17
square
#151E2C #2C1529 #2C2315 #152C17
split-complementary
#151E2C #2C1715 #292C15
monochromatic
#0A0E15 #0A0E15 #151E2C #293A55 #3D567F

Accessibility & contrast

On white

16.75
#151E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E2C
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E2C#FFFFFF#000000##FFFFFF
##151E2C1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2D
Deuteranopia (green-blind)
#161D2C
Tritanopia (blue-blind)
#0D2123
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151e2c;
/* rgb */ color: rgb(21, 30, 44);
/* oklch */ color: oklch(23.3% 0.030 259.0);
Tailwind
colors: {
  custom: {
    50: '#535965',
    500: '#151e2c',
    950: '#000000',
  },
}
SCSS
$custom: #151e2c;
$custom-light: #535965;
$custom-dark: #000000;
JSON
{
  "hex": "#151e2c",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 216.522,
    "s": 35.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23342,
    "c": 0.03024,
    "h": 259
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#151E2C
secondary
#62533B
accent
#A05CCB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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