#151D36#151D36

#151D36 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.7% C 0.050 H 269.0°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#151D36
RGBrgb(21, 29, 54)
HSLhsl(225, 44%, 15%)
HSVhsv(225, 61%, 21%)
CMYKcmyk(61.1%, 46.3%, 0%, 78.8%)
CIE-LABlab(11.31, 5.28, -17.51)
CIE-LCHlch(11.31, 18.28, 286.79°)
OKLaboklab(23.73% -0.0009 -0.0495)
OKLCHoklch(23.73% 0.05 269)
XYZxyz(1.4143, 1.3044, 3.6666)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D36 #362E15
analogous
#152E36 #151D36 #1E1536
triadic
#151D36 #36151D #1D3615
tetradic
#151D36 #36152E #362E15 #15361E
square
#151D36 #36152E #362E15 #15361E
split-complementary
#151D36 #361E15 #2E3615
monochromatic
#090C16 #090C16 #151D36 #263562 #374C8E

Accessibility & contrast

On white

16.65
#151D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D36
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D36#FFFFFF#000000##FFFFFF
##151D361.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132037
Deuteranopia (green-blind)
#0F1D35
Tritanopia (blue-blind)
#062226
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151d36;
/* rgb */ color: rgb(21, 29, 54);
/* oklch */ color: oklch(23.7% 0.050 269.0);
Tailwind
colors: {
  custom: {
    50: '#55586d',
    500: '#151d36',
    950: '#000000',
  },
}
SCSS
$custom: #151d36;
$custom-light: #55586d;
$custom-dark: #000000;
JSON
{
  "hex": "#151d36",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 54
  },
  "hsl": {
    "h": 225.455,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23727,
    "c": 0.04956,
    "h": 269
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#151D36
secondary
#6D613A
accent
#B554D4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151D36

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

Preview Lab → · Contrast checker → · Palette generator →

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