#151B3A#151B3A

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

Color values

HEX#151B3A
RGBrgb(21, 27, 58)
HSLhsl(230, 47%, 15%)
HSVhsv(230, 64%, 23%)
CMYKcmyk(63.8%, 53.4%, 0%, 77.3%)
CIE-LABlab(10.91, 8.43, -20.99)
CIE-LCHlch(10.91, 22.62, 291.87°)
OKLaboklab(23.51% 0.0029 -0.0598)
OKLCHoklch(23.51% 0.06 272.7)
XYZxyz(1.4647, 1.2487, 4.1660)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B3A #3A3415
analogous
#152D3A #151B3A #21153A
triadic
#151B3A #3A151B #1B3A15
tetradic
#151B3A #3A152D #3A3415 #153A21
square
#151B3A #3A152D #3A3415 #153A21
split-complementary
#151B3A #3A2115 #2D3A15
monochromatic
#080A16 #080A16 #151B3A #253067 #364594

Accessibility & contrast

On white

16.80
#151B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#151B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B3A
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B3A#FFFFFF#000000##FFFFFF
##151B3A1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1F3B
Deuteranopia (green-blind)
#081C39
Tritanopia (blue-blind)
#032227
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151b3a;
/* rgb */ color: rgb(21, 27, 58);
/* oklch */ color: oklch(23.5% 0.060 272.7);
Tailwind
colors: {
  custom: {
    50: '#565770',
    500: '#151b3a',
    950: '#000000',
  },
}
SCSS
$custom: #151b3a;
$custom-light: #565770;
$custom-dark: #000000;
JSON
{
  "hex": "#151b3a",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 230.27,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23514,
    "c": 0.05987,
    "h": 272.7
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#151B3A
secondary
#716839
accent
#C151D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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