#151A39#151A39

#151A39 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.2% C 0.060 H 273.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#151A39
RGBrgb(21, 26, 57)
HSLhsl(232, 46%, 15%)
HSVhsv(232, 63%, 22%)
CMYKcmyk(63.2%, 54.4%, 0%, 77.6%)
CIE-LABlab(10.51, 8.79, -20.92)
CIE-LCHlch(10.51, 22.70, 292.79°)
OKLaboklab(23.19% 0.0041 -0.0596)
OKLCHoklch(23.19% 0.06 273.9)
XYZxyz(1.4169, 1.1935, 4.0258)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A39 #393415
analogous
#152C39 #151A39 #221539
triadic
#151A39 #39151A #1A3915
tetradic
#151A39 #39152C #393415 #153922
square
#151A39 #39152C #393415 #153922
split-complementary
#151A39 #392215 #2C3915
monochromatic
#080A16 #080A16 #151A39 #252E66 #364392

Accessibility & contrast

On white

16.95
#151A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A39
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A39#FFFFFF#000000##FFFFFF
##151A391.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1E3A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#042126
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a39;
/* rgb */ color: rgb(21, 26, 57);
/* oklch */ color: oklch(23.2% 0.060 273.9);
Tailwind
colors: {
  custom: {
    50: '#56566f',
    500: '#151a39',
    950: '#000000',
  },
}
SCSS
$custom: #151a39;
$custom-light: #56566f;
$custom-dark: #000000;
JSON
{
  "hex": "#151a39",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 231.667,
    "s": 46.154,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23185,
    "c": 0.05974,
    "h": 273.9
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#151A39
secondary
#706939
accent
#C452D6
background
#F5F5F6
surface
#E9E8EC
border
#C5C4C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151A39

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

Preview Lab → · Contrast checker → · Palette generator →

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