#151E37#151E37

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

Color values

HEX#151E37
RGBrgb(21, 30, 55)
HSLhsl(224, 45%, 15%)
HSVhsv(224, 62%, 22%)
CMYKcmyk(61.8%, 45.5%, 0%, 78.4%)
CIE-LABlab(11.71, 4.92, -17.58)
CIE-LCHlch(11.71, 18.25, 285.63°)
OKLaboklab(24.06% -0.0021 -0.0497)
OKLCHoklch(24.06% 0.05 267.6)
XYZxyz(1.4629, 1.3637, 3.7998)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E37 #372E15
analogous
#152F37 #151E37 #1D1537
triadic
#151E37 #37151E #1E3715
tetradic
#151E37 #37152F #372E15 #15371D
square
#151E37 #37152F #372E15 #15371D
split-complementary
#151E37 #371D15 #2F3715
monochromatic
#080C16 #080C16 #151E37 #263663 #374E90

Accessibility & contrast

On white

16.50
#151E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E37
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E37#FFFFFF#000000##FFFFFF
##151E371.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142138
Deuteranopia (green-blind)
#101E36
Tritanopia (blue-blind)
#052327
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151e37;
/* rgb */ color: rgb(21, 30, 55);
/* oklch */ color: oklch(24.1% 0.050 267.6);
Tailwind
colors: {
  custom: {
    50: '#55596e',
    500: '#151e37',
    950: '#000000',
  },
}
SCSS
$custom: #151e37;
$custom-light: #55596e;
$custom-dark: #000000;
JSON
{
  "hex": "#151e37",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 55
  },
  "hsl": {
    "h": 224.118,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24062,
    "c": 0.04979,
    "h": 267.6
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#151E37
secondary
#6E603A
accent
#B253D4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151E37

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

Preview Lab → · Contrast checker → · Palette generator →

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