#151E39#151E39

#151E39 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.2% C 0.053 H 268.3°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#151E39
RGBrgb(21, 30, 57)
HSLhsl(225, 46%, 15%)
HSVhsv(225, 63%, 22%)
CMYKcmyk(63.2%, 47.4%, 0%, 77.6%)
CIE-LABlab(11.85, 5.72, -18.79)
CIE-LCHlch(11.85, 19.64, 286.92°)
OKLaboklab(24.21% -0.0015 -0.0533)
OKLCHoklch(24.21% 0.053 268.3)
XYZxyz(1.5118, 1.3833, 4.0574)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E39 #393015
analogous
#153039 #151E39 #1E1539
triadic
#151E39 #39151E #1E3915
tetradic
#151E39 #391530 #393015 #15391E
square
#151E39 #391530 #393015 #15391E
split-complementary
#151E39 #391E15 #303915
monochromatic
#080C16 #080C16 #151E39 #253666 #364D92

Accessibility & contrast

On white

16.45
#151E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E39
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E39#FFFFFF#000000##FFFFFF
##151E391.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13213A
Deuteranopia (green-blind)
#0F1E38
Tritanopia (blue-blind)
#042428
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151e39;
/* rgb */ color: rgb(21, 30, 57);
/* oklch */ color: oklch(24.2% 0.053 268.3);
Tailwind
colors: {
  custom: {
    50: '#56596f',
    500: '#151e39',
    950: '#000000',
  },
}
SCSS
$custom: #151e39;
$custom-light: #56596f;
$custom-dark: #000000;
JSON
{
  "hex": "#151e39",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 225,
    "s": 46.154,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24207,
    "c": 0.05333,
    "h": 268.3
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#151E39
secondary
#706339
accent
#B552D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151E39

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

Preview Lab → · Contrast checker → · Palette generator →

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