#151D3D#151D3D

#151D3D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.062 H 270.6°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#151D3D
RGBrgb(21, 29, 61)
HSLhsl(228, 49%, 16%)
HSVhsv(228, 66%, 24%)
CMYKcmyk(65.6%, 52.5%, 0%, 76.1%)
CIE-LABlab(11.79, 8.11, -21.72)
CIE-LCHlch(11.79, 23.18, 290.47°)
OKLaboklab(24.26% 0.0007 -0.0619)
OKLCHoklch(24.26% 0.062 270.6)
XYZxyz(1.5907, 1.3750, 4.5955)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D3D #3D3515
analogous
#15313D #151D3D #21153D
triadic
#151D3D #3D151D #1D3D15
tetradic
#151D3D #3D1531 #3D3515 #153D21
square
#151D3D #3D1531 #3D3515 #153D21
split-complementary
#151D3D #3D2115 #313D15
monochromatic
#080B17 #080B17 #151D3D #25336B #344898

Accessibility & contrast

On white

16.47
#151D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D3D
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D3D#FFFFFF#000000##FFFFFF
##151D3D1.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213E
Deuteranopia (green-blind)
#091D3C
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151d3d;
/* rgb */ color: rgb(21, 29, 61);
/* oklch */ color: oklch(24.3% 0.062 270.6);
Tailwind
colors: {
  custom: {
    50: '#565873',
    500: '#151d3d',
    950: '#000000',
  },
}
SCSS
$custom: #151d3d;
$custom-light: #565873;
$custom-dark: #000000;
JSON
{
  "hex": "#151d3d",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 228,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24255,
    "c": 0.06191,
    "h": 270.6
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#151D3D
secondary
#756939
accent
#BD4FD8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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