#151E2F#151E2F

#151E2F is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.5% C 0.036 H 262.6°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#151E2F
RGBrgb(21, 30, 47)
HSLhsl(219, 38%, 13%)
HSVhsv(219, 55%, 18%)
CMYKcmyk(55.3%, 36.2%, 0%, 81.6%)
CIE-LABlab(11.23, 1.80, -12.58)
CIE-LCHlch(11.23, 12.71, 278.14°)
OKLaboklab(23.53% -0.0046 -0.0352)
OKLCHoklch(23.53% 0.036 262.6)
XYZxyz(1.2865, 1.2931, 2.8706)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E2F #2F2615
analogous
#152B2F #151E2F #19152F
triadic
#151E2F #2F151E #1E2F15
tetradic
#151E2F #2F152B #2F2615 #152F19
square
#151E2F #2F152B #2F2615 #152F19
split-complementary
#151E2F #2F1915 #2B2F15
monochromatic
#090D15 #090D15 #151E2F #283959 #3B5484

Accessibility & contrast

On white

16.69
#151E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E2F
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E2F#FFFFFF#000000##FFFFFF
##151E2F1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F30
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#0B2224
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151e2f;
/* rgb */ color: rgb(21, 30, 47);
/* oklch */ color: oklch(23.5% 0.036 262.6);
Tailwind
colors: {
  custom: {
    50: '#545967',
    500: '#151e2f',
    950: '#000000',
  },
}
SCSS
$custom: #151e2f;
$custom-light: #545967;
$custom-dark: #000000;
JSON
{
  "hex": "#151e2f",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 219.231,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23525,
    "c": 0.03553,
    "h": 262.6
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#151E2F
secondary
#65563B
accent
#A65ACE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #151E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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