#151C36#151C36

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

Color values

HEX#151C36
RGBrgb(21, 28, 54)
HSLhsl(227, 44%, 15%)
HSVhsv(227, 61%, 21%)
CMYKcmyk(61.1%, 48.1%, 0%, 78.8%)
CIE-LABlab(10.97, 6.05, -18.04)
CIE-LCHlch(10.97, 19.03, 288.53°)
OKLaboklab(23.47% 0.0006 -0.0511)
OKLCHoklch(23.47% 0.051 270.7)
XYZxyz(1.3902, 1.2562, 3.6585)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C36 #362F15
analogous
#152D36 #151C36 #1F1536
triadic
#151C36 #36151C #1C3615
tetradic
#151C36 #36152D #362F15 #15361F
square
#151C36 #36152D #362F15 #15361F
split-complementary
#151C36 #361F15 #2D3615
monochromatic
#090B16 #090B16 #151C36 #263362 #374A8E

Accessibility & contrast

On white

16.78
#151C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#151C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C36
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C36#FFFFFF#000000##FFFFFF
##151C361.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111F37
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#062226
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151c36;
/* rgb */ color: rgb(21, 28, 54);
/* oklch */ color: oklch(23.5% 0.051 270.7);
Tailwind
colors: {
  custom: {
    50: '#55576d',
    500: '#151c36',
    950: '#000000',
  },
}
SCSS
$custom: #151c36;
$custom-light: #55576d;
$custom-dark: #000000;
JSON
{
  "hex": "#151c36",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 227.273,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23465,
    "c": 0.05114,
    "h": 270.7
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#151C36
secondary
#6D623A
accent
#B954D4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151C36

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

Preview Lab → · Contrast checker → · Palette generator →

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