#151F39#151F39

#151F39 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.5% C 0.052 H 266.7°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#151F39
RGBrgb(21, 31, 57)
HSLhsl(223, 46%, 15%)
HSVhsv(223, 63%, 22%)
CMYKcmyk(63.2%, 45.6%, 0%, 77.6%)
CIE-LABlab(12.19, 4.96, -18.25)
CIE-LCHlch(12.19, 18.91, 285.20°)
OKLaboklab(24.47% -0.003 -0.0517)
OKLCHoklch(24.47% 0.052 266.7)
XYZxyz(1.5375, 1.4347, 4.0660)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F39 #392F15
analogous
#153139 #151F39 #1D1539
triadic
#151F39 #39151F #1F3915
tetradic
#151F39 #391531 #392F15 #15391D
square
#151F39 #391531 #392F15 #15391D
split-complementary
#151F39 #391D15 #313915
monochromatic
#080C16 #080C16 #151F39 #253766 #365092

Accessibility & contrast

On white

16.32
#151F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F39
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F39#FFFFFF#000000##FFFFFF
##151F391.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223A
Deuteranopia (green-blind)
#101E38
Tritanopia (blue-blind)
#032529
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151f39;
/* rgb */ color: rgb(21, 31, 57);
/* oklch */ color: oklch(24.5% 0.052 266.7);
Tailwind
colors: {
  custom: {
    50: '#565a6f',
    500: '#151f39',
    950: '#000000',
  },
}
SCSS
$custom: #151f39;
$custom-light: #565a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#151f39",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 223.333,
    "s": 46.154,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24469,
    "c": 0.0518,
    "h": 266.7
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#151F39
secondary
#706139
accent
#B152D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151F39

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

Preview Lab → · Contrast checker → · Palette generator →

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