#151B29#151B29

#151B29 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.3% C 0.029 H 266.2°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#151B29
RGBrgb(21, 27, 41)
HSLhsl(222, 32%, 12%)
HSVhsv(222, 49%, 16%)
CMYKcmyk(48.8%, 34.1%, 0%, 83.9%)
CIE-LABlab(9.82, 1.83, -10.38)
CIE-LCHlch(9.82, 10.54, 280.01°)
OKLaboklab(22.32% -0.0019 -0.0289)
OKLCHoklch(22.32% 0.029 266.2)
XYZxyz(1.1013, 1.1033, 2.2523)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B29 #292315
analogous
#152529 #151B29 #191529
triadic
#151B29 #29151B #1B2915
tetradic
#151B29 #291525 #292315 #152919
square
#151B29 #291525 #292315 #152919
split-complementary
#151B29 #291915 #252915
monochromatic
#0A0D14 #0A0D14 #151B29 #2A3651 #3E507A

Accessibility & contrast

On white

17.20
#151B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#151B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B29
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B29#FFFFFF#000000##FFFFFF
##151B291.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C2A
Deuteranopia (green-blind)
#141A29
Tritanopia (blue-blind)
#0F1E20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151b29;
/* rgb */ color: rgb(21, 27, 41);
/* oklch */ color: oklch(22.3% 0.029 266.2);
Tailwind
colors: {
  custom: {
    50: '#535762',
    500: '#151b29',
    950: '#000000',
  },
}
SCSS
$custom: #151b29;
$custom-light: #535762;
$custom-dark: #000000;
JSON
{
  "hex": "#151b29",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 222,
    "s": 32.258,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22322,
    "c": 0.02895,
    "h": 266.2
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#151B29
secondary
#5E543C
accent
#A95FC8
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151B29

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

Preview Lab → · Contrast checker → · Palette generator →

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