#151B2E#151B2E

#151B2E is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.6% C 0.038 H 269.8°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#151B2E
RGBrgb(21, 27, 46)
HSLhsl(226, 37%, 13%)
HSVhsv(226, 54%, 18%)
CMYKcmyk(54.3%, 41.3%, 0%, 82%)
CIE-LABlab(10.11, 3.69, -13.60)
CIE-LCHlch(10.11, 14.09, 285.19°)
OKLaboklab(22.64% -0.0001 -0.0382)
OKLCHoklch(22.64% 0.038 269.8)
XYZxyz(1.1942, 1.1405, 2.7414)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B2E #2E2815
analogous
#15272E #151B2E #1B152E
triadic
#151B2E #2E151B #1B2E15
tetradic
#151B2E #2E1527 #2E2815 #152E1B
square
#151B2E #2E1527 #2E2815 #152E1B
split-complementary
#151B2E #2E1B15 #272E15
monochromatic
#0A0C15 #0A0C15 #151B2E #283458 #3B4C82

Accessibility & contrast

On white

17.10
#151B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B2E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B2E#FFFFFF#000000##FFFFFF
##151B2E1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D2F
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#0C1F22
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151b2e;
/* rgb */ color: rgb(21, 27, 46);
/* oklch */ color: oklch(22.6% 0.038 269.8);
Tailwind
colors: {
  custom: {
    50: '#545766',
    500: '#151b2e',
    950: '#000000',
  },
}
SCSS
$custom: #151b2e;
$custom-light: #545766;
$custom-dark: #000000;
JSON
{
  "hex": "#151b2e",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 225.6,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22639,
    "c": 0.03819,
    "h": 269.8
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#151B2E
secondary
#645A3B
accent
#B25BCD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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