#151C39#151C39

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

Color values

HEX#151C39
RGBrgb(21, 28, 57)
HSLhsl(228, 46%, 15%)
HSVhsv(228, 63%, 22%)
CMYKcmyk(63.2%, 50.9%, 0%, 77.6%)
CIE-LABlab(11.17, 7.25, -19.87)
CIE-LCHlch(11.17, 21.15, 290.06°)
OKLaboklab(23.69% 0.0013 -0.0565)
OKLCHoklch(23.69% 0.056 271.3)
XYZxyz(1.4628, 1.2852, 4.0411)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C39 #393215
analogous
#152E39 #151C39 #201539
triadic
#151C39 #39151C #1C3915
tetradic
#151C39 #39152E #393215 #153920
square
#151C39 #39152E #393215 #153920
split-complementary
#151C39 #392015 #2E3915
monochromatic
#080B16 #080B16 #151C39 #253266 #364892

Accessibility & contrast

On white

16.71
#151C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C39
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C39#FFFFFF#000000##FFFFFF
##151C391.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F3A
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#042227
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151c39;
/* rgb */ color: rgb(21, 28, 57);
/* oklch */ color: oklch(23.7% 0.056 271.3);
Tailwind
colors: {
  custom: {
    50: '#56576f',
    500: '#151c39',
    950: '#000000',
  },
}
SCSS
$custom: #151c39;
$custom-light: #56576f;
$custom-dark: #000000;
JSON
{
  "hex": "#151c39",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 228.333,
    "s": 46.154,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2369,
    "c": 0.05648,
    "h": 271.3
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#151C39
secondary
#706639
accent
#BC52D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151C39

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

Preview Lab → · Contrast checker → · Palette generator →

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