#151C48#151C48

#151C48 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.082 H 272.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#151C48
RGBrgb(21, 28, 72)
HSLhsl(232, 55%, 18%)
HSVhsv(232, 71%, 28%)
CMYKcmyk(70.8%, 61.1%, 0%, 71.8%)
CIE-LABlab(12.34, 13.41, -28.55)
CIE-LCHlch(12.34, 31.54, 295.16°)
OKLaboklab(24.94% 0.0032 -0.082)
OKLCHoklch(24.94% 0.082 272.2)
XYZxyz(1.8938, 1.4577, 6.3112)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C48 #484115
analogous
#153548 #151C48 #271548
triadic
#151C48 #48151C #1C4815
tetradic
#151C48 #481535 #484115 #154827
square
#151C48 #481535 #484115 #154827
split-complementary
#151C48 #482715 #354815
monochromatic
#070918 #070A19 #151C48 #232E77 #3141A7

Accessibility & contrast

On white

16.26
#151C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C48
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C48#FFFFFF#000000##FFFFFF
##151C481.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151c48;
/* rgb */ color: rgb(21, 28, 72);
/* oklch */ color: oklch(24.9% 0.082 272.2);
Tailwind
colors: {
  custom: {
    50: '#59577b',
    500: '#151c48',
    950: '#000000',
  },
}
SCSS
$custom: #151c48;
$custom-light: #59577b;
$custom-dark: #000000;
JSON
{
  "hex": "#151c48",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 231.765,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24944,
    "c": 0.08205,
    "h": 272.2
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#151C48
secondary
#807639
accent
#CA4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151C48

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

Preview Lab → · Contrast checker → · Palette generator →

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