#151F37#151F37

#151F37 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.3% C 0.048 H 265.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#151F37
RGBrgb(21, 31, 55)
HSLhsl(222, 45%, 15%)
HSVhsv(222, 62%, 22%)
CMYKcmyk(61.8%, 43.6%, 0%, 78.4%)
CIE-LABlab(12.06, 4.16, -17.03)
CIE-LCHlch(12.06, 17.53, 283.72°)
OKLaboklab(24.33% -0.0035 -0.0481)
OKLCHoklch(24.33% 0.048 265.8)
XYZxyz(1.4886, 1.4151, 3.8084)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F37 #372D15
analogous
#153037 #151F37 #1C1537
triadic
#151F37 #37151F #1F3715
tetradic
#151F37 #371530 #372D15 #15371C
square
#151F37 #371530 #372D15 #15371C
split-complementary
#151F37 #371C15 #303715
monochromatic
#080C16 #080C16 #151F37 #263863 #375190

Accessibility & contrast

On white

16.37
#151F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F37
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F37#FFFFFF#000000##FFFFFF
##151F371.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152138
Deuteranopia (green-blind)
#121E36
Tritanopia (blue-blind)
#052428
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151f37;
/* rgb */ color: rgb(21, 31, 55);
/* oklch */ color: oklch(24.3% 0.048 265.8);
Tailwind
colors: {
  custom: {
    50: '#555a6e',
    500: '#151f37',
    950: '#000000',
  },
}
SCSS
$custom: #151f37;
$custom-light: #555a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#151f37",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 222.353,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24328,
    "c": 0.04828,
    "h": 265.8
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#151F37
secondary
#6E5F3A
accent
#AE53D4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151F37

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

Preview Lab → · Contrast checker → · Palette generator →

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