#151B2F#151B2F

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

Color values

HEX#151B2F
RGBrgb(21, 27, 47)
HSLhsl(226, 38%, 13%)
HSVhsv(226, 55%, 18%)
CMYKcmyk(55.3%, 42.6%, 0%, 81.6%)
CIE-LABlab(10.17, 4.07, -14.23)
CIE-LCHlch(10.17, 14.80, 285.96°)
OKLaboklab(22.71% 0.0002 -0.04)
OKLCHoklch(22.71% 0.04 270.3)
XYZxyz(1.2141, 1.1485, 2.8465)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B2F #2F2915
analogous
#15282F #151B2F #1C152F
triadic
#151B2F #2F151B #1B2F15
tetradic
#151B2F #2F1528 #2F2915 #152F1C
square
#151B2F #2F1528 #2F2915 #152F1C
split-complementary
#151B2F #2F1C15 #282F15
monochromatic
#090C15 #090C15 #151B2F #283359 #3B4C84

Accessibility & contrast

On white

17.08
#151B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B2F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B2F#FFFFFF#000000##FFFFFF
##151B2F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D30
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#0B1F22
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151b2f;
/* rgb */ color: rgb(21, 27, 47);
/* oklch */ color: oklch(22.7% 0.040 270.3);
Tailwind
colors: {
  custom: {
    50: '#545767',
    500: '#151b2f',
    950: '#000000',
  },
}
SCSS
$custom: #151b2f;
$custom-light: #545767;
$custom-dark: #000000;
JSON
{
  "hex": "#151b2f",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 226.154,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22706,
    "c": 0.04003,
    "h": 270.3
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#151B2F
secondary
#655B3B
accent
#B35ACE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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