#151A32#151A32

#151A32 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.7% C 0.047 H 273.2°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#151A32
RGBrgb(21, 26, 50)
HSLhsl(230, 41%, 14%)
HSVhsv(230, 58%, 20%)
CMYKcmyk(58%, 48%, 0%, 80.4%)
CIE-LABlab(10.02, 6.01, -16.66)
CIE-LCHlch(10.02, 17.71, 289.82°)
OKLaboklab(22.65% 0.0026 -0.0471)
OKLCHoklch(22.65% 0.047 273.2)
XYZxyz(1.2542, 1.1284, 3.1687)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A32 #322D15
analogous
#152932 #151A32 #1F1532
triadic
#151A32 #32151A #1A3215
tetradic
#151A32 #321529 #322D15 #15321F
square
#151A32 #321529 #322D15 #15321F
split-complementary
#151A32 #321F15 #293215
monochromatic
#090B16 #090B16 #151A32 #27305D #394788

Accessibility & contrast

On white

17.13
#151A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A32
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A32#FFFFFF#000000##FFFFFF
##151A321.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111D33
Deuteranopia (green-blind)
#0E1A31
Tritanopia (blue-blind)
#0A1F23
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a32;
/* rgb */ color: rgb(21, 26, 50);
/* oklch */ color: oklch(22.7% 0.047 273.2);
Tailwind
colors: {
  custom: {
    50: '#54566a',
    500: '#151a32',
    950: '#000000',
  },
}
SCSS
$custom: #151a32;
$custom-light: #54566a;
$custom-dark: #000000;
JSON
{
  "hex": "#151a32",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 229.655,
    "s": 40.845,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22651,
    "c": 0.04718,
    "h": 273.2
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#151A32
secondary
#69613A
accent
#BC57D1
background
#F4F5F6
surface
#E8E8EB
border
#C4C4C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151A32

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

Preview Lab → · Contrast checker → · Palette generator →

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