#151A2E#151A2E

#151A2E is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.4% C 0.040 H 272.2°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#151A2E
RGBrgb(21, 26, 46)
HSLhsl(228, 37%, 13%)
HSVhsv(228, 54%, 18%)
CMYKcmyk(54.3%, 43.5%, 0%, 82%)
CIE-LABlab(9.76, 4.46, -14.15)
CIE-LCHlch(9.76, 14.83, 287.49°)
OKLaboklab(22.37% 0.0015 -0.0398)
OKLCHoklch(22.37% 0.04 272.2)
XYZxyz(1.1716, 1.0954, 2.7339)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A2E #2E2915
analogous
#15262E #151A2E #1C152E
triadic
#151A2E #2E151A #1A2E15
tetradic
#151A2E #2E1526 #2E2915 #152E1C
square
#151A2E #2E1526 #2E2915 #152E1C
split-complementary
#151A2E #2E1C15 #262E15
monochromatic
#0A0C15 #0A0C15 #151A2E #283258 #3B4982

Accessibility & contrast

On white

17.23
#151A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A2E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A2E#FFFFFF#000000##FFFFFF
##151A2E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#0C1E21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151a2e;
/* rgb */ color: rgb(21, 26, 46);
/* oklch */ color: oklch(22.4% 0.040 272.2);
Tailwind
colors: {
  custom: {
    50: '#545666',
    500: '#151a2e',
    950: '#000000',
  },
}
SCSS
$custom: #151a2e;
$custom-light: #545666;
$custom-dark: #000000;
JSON
{
  "hex": "#151a2e",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 228,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22369,
    "c": 0.03982,
    "h": 272.2
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#151A2E
secondary
#645C3B
accent
#B65BCD
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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