#151C3C#151C3C

#151C3C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.062 H 271.7°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#151C3C
RGBrgb(21, 28, 60)
HSLhsl(229, 48%, 16%)
HSVhsv(229, 65%, 24%)
CMYKcmyk(65%, 53.3%, 0%, 76.5%)
CIE-LABlab(11.39, 8.47, -21.66)
CIE-LCHlch(11.39, 23.25, 291.36°)
OKLaboklab(23.92% 0.0019 -0.0617)
OKLCHoklch(23.92% 0.062 271.7)
XYZxyz(1.5399, 1.3161, 4.4470)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C3C #3C3515
analogous
#152F3C #151C3C #21153C
triadic
#151C3C #3C151C #1C3C15
tetradic
#151C3C #3C152F #3C3515 #153C21
square
#151C3C #3C152F #3C3515 #153C21
split-complementary
#151C3C #3C2115 #2F3C15
monochromatic
#080B17 #080B17 #151C3C #253169 #354697

Accessibility & contrast

On white

16.62
#151C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C3C
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C3C#FFFFFF#000000##FFFFFF
##151C3C1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203D
Deuteranopia (green-blind)
#081D3B
Tritanopia (blue-blind)
#012329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151c3c;
/* rgb */ color: rgb(21, 28, 60);
/* oklch */ color: oklch(23.9% 0.062 271.7);
Tailwind
colors: {
  custom: {
    50: '#565772',
    500: '#151c3c',
    950: '#000000',
  },
}
SCSS
$custom: #151c3c;
$custom-light: #565772;
$custom-dark: #000000;
JSON
{
  "hex": "#151c3c",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 229.231,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23924,
    "c": 0.06176,
    "h": 271.7
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#151C3C
secondary
#746939
accent
#BF50D8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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