#151D39#151D39

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

Color values

HEX#151D39
RGBrgb(21, 29, 57)
HSLhsl(227, 46%, 15%)
HSVhsv(227, 63%, 22%)
CMYKcmyk(63.2%, 49.1%, 0%, 77.6%)
CIE-LABlab(11.51, 6.48, -19.33)
CIE-LCHlch(11.51, 20.39, 288.54°)
OKLaboklab(23.95% -0.0001 -0.0549)
OKLCHoklch(23.95% 0.055 269.9)
XYZxyz(1.4869, 1.3335, 4.0491)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D39 #393115
analogous
#152F39 #151D39 #1F1539
triadic
#151D39 #39151D #1D3915
tetradic
#151D39 #39152F #393115 #15391F
square
#151D39 #39152F #393115 #15391F
split-complementary
#151D39 #391F15 #2F3915
monochromatic
#080B16 #080B16 #151D39 #253466 #364B92

Accessibility & contrast

On white

16.58
#151D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D39
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D39#FFFFFF#000000##FFFFFF
##151D391.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11203A
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#042328
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151d39;
/* rgb */ color: rgb(21, 29, 57);
/* oklch */ color: oklch(23.9% 0.055 269.9);
Tailwind
colors: {
  custom: {
    50: '#56586f',
    500: '#151d39',
    950: '#000000',
  },
}
SCSS
$custom: #151d39;
$custom-light: #56586f;
$custom-dark: #000000;
JSON
{
  "hex": "#151d39",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 226.667,
    "s": 46.154,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23947,
    "c": 0.05489,
    "h": 269.9
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#151D39
secondary
#706439
accent
#B952D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151D39

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

Preview Lab → · Contrast checker → · Palette generator →

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