#151D4A#151D4A

#151D4A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.084 H 271.5°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#151D4A
RGBrgb(21, 29, 74)
HSLhsl(231, 56%, 19%)
HSVhsv(231, 72%, 29%)
CMYKcmyk(71.6%, 60.8%, 0%, 71%)
CIE-LABlab(12.81, 13.48, -29.16)
CIE-LCHlch(12.81, 32.12, 294.81°)
OKLaboklab(25.36% 0.0022 -0.0838)
OKLCHoklch(25.36% 0.084 271.5)
XYZxyz(1.9842, 1.5324, 6.6685)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D4A #4A4215
analogous
#15374A #151D4A #27154A
triadic
#151D4A #4A151D #1D4A15
tetradic
#151D4A #4A1537 #4A4215 #154A27
square
#151D4A #4A1537 #4A4215 #154A27
split-complementary
#151D4A #4A2715 #374A15
monochromatic
#070918 #070A1A #151D4A #23307A #3042A9

Accessibility & contrast

On white

16.07
#151D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D4A
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D4A#FFFFFF#000000##FFFFFF
##151D4A1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151d4a;
/* rgb */ color: rgb(21, 29, 74);
/* oklch */ color: oklch(25.4% 0.084 271.5);
Tailwind
colors: {
  custom: {
    50: '#5a587d',
    500: '#151d4a',
    950: '#000000',
  },
}
SCSS
$custom: #151d4a;
$custom-light: #5a587d;
$custom-dark: #000000;
JSON
{
  "hex": "#151d4a",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 230.943,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25355,
    "c": 0.08381,
    "h": 271.5
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#151D4A
secondary
#827739
accent
#C849DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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