#151C38#151C38

#151C38 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.6% C 0.055 H 271.1°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#151C38
RGBrgb(21, 28, 56)
HSLhsl(228, 45%, 15%)
HSVhsv(228, 63%, 22%)
CMYKcmyk(62.5%, 50%, 0%, 78%)
CIE-LABlab(11.10, 6.85, -19.26)
CIE-LCHlch(11.10, 20.44, 289.57°)
OKLaboklab(23.61% 0.0011 -0.0547)
OKLCHoklch(23.61% 0.055 271.1)
XYZxyz(1.4381, 1.2754, 3.9110)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C38 #383115
analogous
#152D38 #151C38 #1F1538
triadic
#151C38 #38151C #1C3815
tetradic
#151C38 #38152D #383115 #15381F
square
#151C38 #38152D #383115 #15381F
split-complementary
#151C38 #381F15 #2D3815
monochromatic
#080B16 #080B16 #151C38 #263265 #364991

Accessibility & contrast

On white

16.73
#151C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C38
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C38#FFFFFF#000000##FFFFFF
##151C381.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#0C1C37
Tritanopia (blue-blind)
#052227
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151c38;
/* rgb */ color: rgb(21, 28, 56);
/* oklch */ color: oklch(23.6% 0.055 271.1);
Tailwind
colors: {
  custom: {
    50: '#55576f',
    500: '#151c38',
    950: '#000000',
  },
}
SCSS
$custom: #151c38;
$custom-light: #55576f;
$custom-dark: #000000;
JSON
{
  "hex": "#151c38",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 228,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23614,
    "c": 0.05471,
    "h": 271.1
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#151C38
secondary
#6F653A
accent
#BB53D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151C38

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

Preview Lab → · Contrast checker → · Palette generator →

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