#151D4D#151D4D

#151D4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.089 H 271.5°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#151D4D
RGBrgb(21, 29, 77)
HSLhsl(231, 57%, 19%)
HSVhsv(231, 73%, 30%)
CMYKcmyk(72.7%, 62.3%, 0%, 69.8%)
CIE-LABlab(13.07, 14.73, -30.81)
CIE-LCHlch(13.07, 34.15, 295.55°)
OKLaboklab(25.63% 0.0024 -0.0886)
OKLCHoklch(25.63% 0.089 271.5)
XYZxyz(2.0877, 1.5738, 7.2135)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D4D #4D4515
analogous
#15394D #151D4D #29154D
triadic
#151D4D #4D151D #1D4D15
tetradic
#151D4D #4D1539 #4D4515 #154D29
square
#151D4D #4D1539 #4D4515 #154D29
split-complementary
#151D4D #4D2915 #394D15
monochromatic
#070918 #080B1D #151D4D #222F7D #2F41AD

Accessibility & contrast

On white

15.97
#151D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#151D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D4D
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D4D#FFFFFF#000000##FFFFFF
##151D4D1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151d4d;
/* rgb */ color: rgb(21, 29, 77);
/* oklch */ color: oklch(25.6% 0.089 271.5);
Tailwind
colors: {
  custom: {
    50: '#5a587f',
    500: '#151d4d',
    950: '#000000',
  },
}
SCSS
$custom: #151d4d;
$custom-light: #5a587f;
$custom-dark: #000000;
JSON
{
  "hex": "#151d4d",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 231.429,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25629,
    "c": 0.08866,
    "h": 271.5
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#151D4D
secondary
#857A39
accent
#CB47E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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