#151A2F#151A2F

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

Color values

HEX#151A2F
RGBrgb(21, 26, 47)
HSLhsl(228, 38%, 13%)
HSVhsv(228, 55%, 18%)
CMYKcmyk(55.3%, 44.7%, 0%, 81.6%)
CIE-LABlab(9.82, 4.84, -14.78)
CIE-LCHlch(9.82, 15.55, 288.13°)
OKLaboklab(22.44% 0.0018 -0.0416)
OKLCHoklch(22.44% 0.042 272.5)
XYZxyz(1.1916, 1.1034, 2.8390)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A2F #2F2A15
analogous
#15272F #151A2F #1D152F
triadic
#151A2F #2F151A #1A2F15
tetradic
#151A2F #2F1527 #2F2A15 #152F1D
square
#151A2F #2F1527 #2F2A15 #152F1D
split-complementary
#151A2F #2F1D15 #272F15
monochromatic
#090C15 #090C15 #151A2F #283159 #3B4984

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##151A2F#FFFFFF#000000##FFFFFF
##151A2F1.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)
#121C30
Deuteranopia (green-blind)
#101A2F
Tritanopia (blue-blind)
#0C1E22
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151a2f;
/* rgb */ color: rgb(21, 26, 47);
/* oklch */ color: oklch(22.4% 0.042 272.5);
Tailwind
colors: {
  custom: {
    50: '#545667',
    500: '#151a2f',
    950: '#000000',
  },
}
SCSS
$custom: #151a2f;
$custom-light: #545667;
$custom-dark: #000000;
JSON
{
  "hex": "#151a2f",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 228.462,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22438,
    "c": 0.04167,
    "h": 272.5
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#151A2F
secondary
#655D3B
accent
#B85ACE
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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