#151D31#151D31

#151D31 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.4% C 0.041 H 266.7°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#151D31
RGBrgb(21, 29, 49)
HSLhsl(223, 40%, 14%)
HSVhsv(223, 57%, 19%)
CMYKcmyk(57.1%, 40.8%, 0%, 80.8%)
CIE-LABlab(10.99, 3.32, -14.40)
CIE-LCHlch(10.99, 14.78, 282.98°)
OKLaboklab(23.38% -0.0023 -0.0405)
OKLCHoklch(23.38% 0.041 266.7)
XYZxyz(1.3028, 1.2598, 3.0797)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D31 #312915
analogous
#152B31 #151D31 #1B1531
triadic
#151D31 #31151D #1D3115
tetradic
#151D31 #31152B #312915 #15311B
square
#151D31 #31152B #312915 #15311B
split-complementary
#151D31 #311B15 #2B3115
monochromatic
#090D15 #090D15 #151D31 #27365C #3A5087

Accessibility & contrast

On white

16.77
#151D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D31
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D31#FFFFFF#000000##FFFFFF
##151D311.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161F32
Deuteranopia (green-blind)
#131C31
Tritanopia (blue-blind)
#0A2124
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151d31;
/* rgb */ color: rgb(21, 29, 49);
/* oklch */ color: oklch(23.4% 0.041 266.7);
Tailwind
colors: {
  custom: {
    50: '#545869',
    500: '#151d31',
    950: '#000000',
  },
}
SCSS
$custom: #151d31;
$custom-light: #545869;
$custom-dark: #000000;
JSON
{
  "hex": "#151d31",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 222.857,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23381,
    "c": 0.04057,
    "h": 266.7
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#151D31
secondary
#685B3A
accent
#AE58D0
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151D31

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

Preview Lab → · Contrast checker → · Palette generator →

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