#151F3A#151F3A

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

Color values

HEX#151F3A
RGBrgb(21, 31, 58)
HSLhsl(224, 47%, 15%)
HSVhsv(224, 64%, 23%)
CMYKcmyk(63.8%, 46.6%, 0%, 77.3%)
CIE-LABlab(12.25, 5.36, -18.86)
CIE-LCHlch(12.25, 19.60, 285.87°)
OKLaboklab(24.54% -0.0027 -0.0535)
OKLCHoklch(24.54% 0.054 267.1)
XYZxyz(1.5627, 1.4448, 4.1987)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F3A #3A3015
analogous
#15313A #151F3A #1D153A
triadic
#151F3A #3A151F #1F3A15
tetradic
#151F3A #3A1531 #3A3015 #153A1D
square
#151F3A #3A1531 #3A3015 #153A1D
split-complementary
#151F3A #3A1D15 #313A15
monochromatic
#080C16 #080C16 #151F3A #253767 #364F94

Accessibility & contrast

On white

16.29
#151F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F3A
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F3A#FFFFFF#000000##FFFFFF
##151F3A1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223B
Deuteranopia (green-blind)
#0F1E39
Tritanopia (blue-blind)
#032529
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151f3a;
/* rgb */ color: rgb(21, 31, 58);
/* oklch */ color: oklch(24.5% 0.054 267.1);
Tailwind
colors: {
  custom: {
    50: '#565a70',
    500: '#151f3a',
    950: '#000000',
  },
}
SCSS
$custom: #151f3a;
$custom-light: #565a70;
$custom-dark: #000000;
JSON
{
  "hex": "#151f3a",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 223.784,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24542,
    "c": 0.05356,
    "h": 267.1
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#151F3A
secondary
#716239
accent
#B251D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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