#151A37#151A37

#151A37 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.0% C 0.056 H 273.8°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#151A37
RGBrgb(21, 26, 55)
HSLhsl(231, 45%, 15%)
HSVhsv(231, 62%, 22%)
CMYKcmyk(61.8%, 52.7%, 0%, 78.4%)
CIE-LABlab(10.36, 7.99, -19.72)
CIE-LCHlch(10.36, 21.28, 292.04°)
OKLaboklab(23.03% 0.0037 -0.0561)
OKLCHoklch(23.03% 0.056 273.8)
XYZxyz(1.3680, 1.1740, 3.7682)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A37 #373215
analogous
#152B37 #151A37 #211537
triadic
#151A37 #37151A #1A3715
tetradic
#151A37 #37152B #373215 #153721
square
#151A37 #37152B #373215 #153721
split-complementary
#151A37 #372115 #2B3715
monochromatic
#080A16 #080A16 #151A37 #262F63 #374490

Accessibility & contrast

On white

17.01
#151A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A37
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A37#FFFFFF#000000##FFFFFF
##151A371.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E38
Deuteranopia (green-blind)
#0A1B36
Tritanopia (blue-blind)
#062025
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a37;
/* rgb */ color: rgb(21, 26, 55);
/* oklch */ color: oklch(23.0% 0.056 273.8);
Tailwind
colors: {
  custom: {
    50: '#55566e',
    500: '#151a37',
    950: '#000000',
  },
}
SCSS
$custom: #151a37;
$custom-light: #55566e;
$custom-dark: #000000;
JSON
{
  "hex": "#151a37",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 231.176,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23027,
    "c": 0.05619,
    "h": 273.8
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#151A37
secondary
#6E663A
accent
#C153D4
background
#F5F5F6
surface
#E9E8EB
border
#C5C4C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151A37

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

Preview Lab → · Contrast checker → · Palette generator →

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