#151E32#151E32

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

Color values

HEX#151E32
RGBrgb(21, 30, 50)
HSLhsl(221, 41%, 14%)
HSVhsv(221, 58%, 20%)
CMYKcmyk(58%, 40%, 0%, 80.4%)
CIE-LABlab(11.40, 2.95, -14.48)
CIE-LCHlch(11.40, 14.77, 281.51°)
OKLaboklab(23.72% -0.0036 -0.0407)
OKLCHoklch(23.72% 0.041 265)
XYZxyz(1.3491, 1.3182, 3.2003)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E32 #322915
analogous
#152D32 #151E32 #1B1532
triadic
#151E32 #32151E #1E3215
tetradic
#151E32 #32152D #322915 #15321B
square
#151E32 #32152D #322915 #15321B
split-complementary
#151E32 #321B15 #2D3215
monochromatic
#090D16 #090D16 #151E32 #27385D #395288

Accessibility & contrast

On white

16.62
#151E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E32
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E32#FFFFFF#000000##FFFFFF
##151E321.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162033
Deuteranopia (green-blind)
#131D32
Tritanopia (blue-blind)
#092225
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151e32;
/* rgb */ color: rgb(21, 30, 50);
/* oklch */ color: oklch(23.7% 0.041 265.0);
Tailwind
colors: {
  custom: {
    50: '#54596a',
    500: '#151e32',
    950: '#000000',
  },
}
SCSS
$custom: #151e32;
$custom-light: #54596a;
$custom-dark: #000000;
JSON
{
  "hex": "#151e32",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 50
  },
  "hsl": {
    "h": 221.379,
    "s": 40.845,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23719,
    "c": 0.04088,
    "h": 265
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#151E32
secondary
#695A3A
accent
#AB57D1
background
#F4F5F6
surface
#E8E9EB
border
#C4C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151E32

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

Preview Lab → · Contrast checker → · Palette generator →

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