#151D37#151D37

#151D37 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.8% C 0.051 H 269.3°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#151D37
RGBrgb(21, 29, 55)
HSLhsl(226, 45%, 15%)
HSVhsv(226, 62%, 22%)
CMYKcmyk(61.8%, 47.3%, 0%, 78.4%)
CIE-LABlab(11.37, 5.68, -18.12)
CIE-LCHlch(11.37, 18.99, 287.41°)
OKLaboklab(23.8% -0.0006 -0.0513)
OKLCHoklch(23.8% 0.051 269.3)
XYZxyz(1.4380, 1.3139, 3.7915)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D37 #372F15
analogous
#152E37 #151D37 #1E1537
triadic
#151D37 #37151D #1D3715
tetradic
#151D37 #37152E #372F15 #15371E
square
#151D37 #37152E #372F15 #15371E
split-complementary
#151D37 #371E15 #2E3715
monochromatic
#080C16 #080C16 #151D37 #263463 #374C90

Accessibility & contrast

On white

16.63
#151D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D37
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D37#FFFFFF#000000##FFFFFF
##151D371.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122038
Deuteranopia (green-blind)
#0F1D36
Tritanopia (blue-blind)
#052327
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151d37;
/* rgb */ color: rgb(21, 29, 55);
/* oklch */ color: oklch(23.8% 0.051 269.3);
Tailwind
colors: {
  custom: {
    50: '#55586e',
    500: '#151d37',
    950: '#000000',
  },
}
SCSS
$custom: #151d37;
$custom-light: #55586e;
$custom-dark: #000000;
JSON
{
  "hex": "#151d37",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 55
  },
  "hsl": {
    "h": 225.882,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23799,
    "c": 0.05134,
    "h": 269.3
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#151D37
secondary
#6E623A
accent
#B653D4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151D37

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

Preview Lab → · Contrast checker → · Palette generator →

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