#151F36#151F36

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

Color values

HEX#151F36
RGBrgb(21, 31, 54)
HSLhsl(222, 44%, 15%)
HSVhsv(222, 61%, 21%)
CMYKcmyk(61.1%, 42.6%, 0%, 78.8%)
CIE-LABlab(11.99, 3.76, -16.42)
CIE-LCHlch(11.99, 16.84, 282.91°)
OKLaboklab(24.26% -0.0038 -0.0463)
OKLCHoklch(24.26% 0.047 265.3)
XYZxyz(1.4649, 1.4056, 3.6834)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F36 #362C15
analogous
#153036 #151F36 #1C1536
triadic
#151F36 #36151F #1F3615
tetradic
#151F36 #361530 #362C15 #15361C
square
#151F36 #361530 #362C15 #15361C
split-complementary
#151F36 #361C15 #303615
monochromatic
#090D16 #090D16 #151F36 #263862 #37528E

Accessibility & contrast

On white

16.39
#151F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F36
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F36#FFFFFF#000000##FFFFFF
##151F361.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#121E35
Tritanopia (blue-blind)
#062427
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151f36;
/* rgb */ color: rgb(21, 31, 54);
/* oklch */ color: oklch(24.3% 0.047 265.3);
Tailwind
colors: {
  custom: {
    50: '#555a6d',
    500: '#151f36',
    950: '#000000',
  },
}
SCSS
$custom: #151f36;
$custom-light: #555a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#151f36",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 221.818,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24259,
    "c": 0.04651,
    "h": 265.3
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#151F36
secondary
#6D5E3A
accent
#AD54D4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151F36

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

Preview Lab → · Contrast checker → · Palette generator →

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