#151C3A#151C3A

#151C3A is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.8% C 0.058 H 271.5°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#151C3A
RGBrgb(21, 28, 58)
HSLhsl(229, 47%, 15%)
HSVhsv(229, 64%, 23%)
CMYKcmyk(63.8%, 51.7%, 0%, 77.3%)
CIE-LABlab(11.24, 7.66, -20.47)
CIE-LCHlch(11.24, 21.85, 290.51°)
OKLaboklab(23.77% 0.0015 -0.0582)
OKLCHoklch(23.77% 0.058 271.5)
XYZxyz(1.4880, 1.2953, 4.1738)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C3A #3A3315
analogous
#152E3A #151C3A #20153A
triadic
#151C3A #3A151C #1C3A15
tetradic
#151C3A #3A152E #3A3315 #153A20
square
#151C3A #3A152E #3A3315 #153A20
split-complementary
#151C3A #3A2015 #2E3A15
monochromatic
#080B16 #080B16 #151C3A #253267 #364794

Accessibility & contrast

On white

16.68
#151C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C3A
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C3A#FFFFFF#000000##FFFFFF
##151C3A1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203B
Deuteranopia (green-blind)
#0A1C39
Tritanopia (blue-blind)
#032328
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151c3a;
/* rgb */ color: rgb(21, 28, 58);
/* oklch */ color: oklch(23.8% 0.058 271.5);
Tailwind
colors: {
  custom: {
    50: '#565770',
    500: '#151c3a',
    950: '#000000',
  },
}
SCSS
$custom: #151c3a;
$custom-light: #565770;
$custom-dark: #000000;
JSON
{
  "hex": "#151c3a",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 58
  },
  "hsl": {
    "h": 228.649,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23767,
    "c": 0.05825,
    "h": 271.5
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#151C3A
secondary
#716739
accent
#BD51D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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