#151E31#151E31

#151E31 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.7% C 0.039 H 264.3°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#151E31
RGBrgb(21, 30, 49)
HSLhsl(221, 40%, 14%)
HSVhsv(221, 57%, 19%)
CMYKcmyk(57.1%, 38.8%, 0%, 80.8%)
CIE-LABlab(11.34, 2.56, -13.85)
CIE-LCHlch(11.34, 14.08, 280.48°)
OKLaboklab(23.65% -0.0039 -0.0389)
OKLCHoklch(23.65% 0.039 264.3)
XYZxyz(1.3277, 1.3096, 3.0880)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E31 #312815
analogous
#152C31 #151E31 #1A1531
triadic
#151E31 #31151E #1E3115
tetradic
#151E31 #31152C #312815 #15311A
square
#151E31 #31152C #312815 #15311A
split-complementary
#151E31 #311A15 #2C3115
monochromatic
#090D15 #090D15 #151E31 #27385C #3A5287

Accessibility & contrast

On white

16.64
#151E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E31
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E31#FFFFFF#000000##FFFFFF
##151E311.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172032
Deuteranopia (green-blind)
#141D31
Tritanopia (blue-blind)
#0A2225
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151e31;
/* rgb */ color: rgb(21, 30, 49);
/* oklch */ color: oklch(23.7% 0.039 264.3);
Tailwind
colors: {
  custom: {
    50: '#545969',
    500: '#151e31',
    950: '#000000',
  },
}
SCSS
$custom: #151e31;
$custom-light: #545969;
$custom-dark: #000000;
JSON
{
  "hex": "#151e31",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 220.714,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23653,
    "c": 0.03909,
    "h": 264.3
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#151E31
secondary
#68593A
accent
#A958D0
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151E31

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

Preview Lab → · Contrast checker → · Palette generator →

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