#151C4A#151C4A

#151C4A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.085 H 272.2°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#151C4A
RGBrgb(21, 28, 74)
HSLhsl(232, 56%, 19%)
HSVhsv(232, 72%, 29%)
CMYKcmyk(71.6%, 62.2%, 0%, 71%)
CIE-LABlab(12.51, 14.24, -29.65)
CIE-LCHlch(12.51, 32.89, 295.65°)
OKLaboklab(25.13% 0.0033 -0.0853)
OKLCHoklch(25.13% 0.085 272.2)
XYZxyz(1.9601, 1.4842, 6.6604)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C4A #4A4315
analogous
#15364A #151C4A #28154A
triadic
#151C4A #4A151C #1C4A15
tetradic
#151C4A #4A1536 #4A4315 #154A28
square
#151C4A #4A1536 #4A4315 #154A28
split-complementary
#151C4A #4A2815 #364A15
monochromatic
#070918 #070A1A #151C4A #232E7A #3040A9

Accessibility & contrast

On white

16.19
#151C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C4A
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C4A#FFFFFF#000000##FFFFFF
##151C4A1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151c4a;
/* rgb */ color: rgb(21, 28, 74);
/* oklch */ color: oklch(25.1% 0.085 272.2);
Tailwind
colors: {
  custom: {
    50: '#5a577d',
    500: '#151c4a',
    950: '#000000',
  },
}
SCSS
$custom: #151c4a;
$custom-light: #5a577d;
$custom-dark: #000000;
JSON
{
  "hex": "#151c4a",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 232.075,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25126,
    "c": 0.08531,
    "h": 272.2
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#151C4A
secondary
#827839
accent
#CB49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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