#151F34#151F34

#151F34 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.1% C 0.043 H 264.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#151F34
RGBrgb(21, 31, 52)
HSLhsl(221, 42%, 14%)
HSVhsv(221, 60%, 20%)
CMYKcmyk(59.6%, 40.4%, 0%, 79.6%)
CIE-LABlab(11.87, 2.98, -15.18)
CIE-LCHlch(11.87, 15.47, 281.09°)
OKLaboklab(24.12% -0.0044 -0.0428)
OKLCHoklch(24.12% 0.043 264.1)
XYZxyz(1.4189, 1.3872, 3.4411)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F34 #342A15
analogous
#152F34 #151F34 #1B1534
triadic
#151F34 #34151F #1F3415
tetradic
#151F34 #34152F #342A15 #15341B
square
#151F34 #34152F #342A15 #15341B
split-complementary
#151F34 #341B15 #2F3415
monochromatic
#090D16 #090D16 #151F34 #273960 #38538B

Accessibility & contrast

On white

16.44
#151F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F34
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F34#FFFFFF#000000##FFFFFF
##151F341.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172135
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#072427
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151f34;
/* rgb */ color: rgb(21, 31, 52);
/* oklch */ color: oklch(24.1% 0.043 264.1);
Tailwind
colors: {
  custom: {
    50: '#555a6b',
    500: '#151f34',
    950: '#000000',
  },
}
SCSS
$custom: #151f34;
$custom-light: #555a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#151f34",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 220.645,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24123,
    "c": 0.04298,
    "h": 264.1
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#151F34
secondary
#6B5B3A
accent
#AA56D2
background
#F5F5F6
surface
#E8E9EB
border
#C4C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151F34

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

Preview Lab → · Contrast checker → · Palette generator →

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