#151D3B#151D3B

#151D3B is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.1% C 0.058 H 270.3°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#151D3B
RGBrgb(21, 29, 59)
HSLhsl(227, 48%, 16%)
HSVhsv(227, 64%, 23%)
CMYKcmyk(64.4%, 50.8%, 0%, 76.9%)
CIE-LABlab(11.65, 7.29, -20.53)
CIE-LCHlch(11.65, 21.79, 289.56°)
OKLaboklab(24.1% 0.0003 -0.0584)
OKLCHoklch(24.1% 0.058 270.3)
XYZxyz(1.5378, 1.3538, 4.3171)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D3B #3B3315
analogous
#15303B #151D3B #20153B
triadic
#151D3B #3B151D #1D3B15
tetradic
#151D3B #3B1530 #3B3315 #153B20
square
#151D3B #3B1530 #3B3315 #153B20
split-complementary
#151D3B #3B2015 #303B15
monochromatic
#080B17 #080B17 #151D3B #253368 #354995

Accessibility & contrast

On white

16.53
#151D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D3B
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D3B#FFFFFF#000000##FFFFFF
##151D3B1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10213C
Deuteranopia (green-blind)
#0B1D3A
Tritanopia (blue-blind)
#022429
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151d3b;
/* rgb */ color: rgb(21, 29, 59);
/* oklch */ color: oklch(24.1% 0.058 270.3);
Tailwind
colors: {
  custom: {
    50: '#565871',
    500: '#151d3b',
    950: '#000000',
  },
}
SCSS
$custom: #151d3b;
$custom-light: #565871;
$custom-dark: #000000;
JSON
{
  "hex": "#151d3b",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 59
  },
  "hsl": {
    "h": 227.368,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24099,
    "c": 0.05842,
    "h": 270.3
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#151D3B
secondary
#726639
accent
#BB51D7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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