#15154D#15154D

#15154D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.100 H 275.7°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#15154D
RGBrgb(21, 21, 77)
HSLhsl(240, 57%, 19%)
HSVhsv(240, 73%, 30%)
CMYKcmyk(72.7%, 72.7%, 0%, 69.8%)
CIE-LABlab(10.79, 20.63, -34.53)
CIE-LCHlch(10.79, 40.22, 300.86°)
OKLaboklab(23.95% 0.01 -0.0996)
OKLCHoklch(23.95% 0.1 275.7)
XYZxyz(1.9165, 1.2314, 7.1564)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15154D #4D4D15
analogous
#15314D #15154D #31154D
triadic
#15154D #4D1515 #154D15
tetradic
#15154D #4D1531 #4D4D15 #154D31
square
#15154D #4D1531 #4D4D15 #154D31
split-complementary
#15154D #4D3115 #314D15
monochromatic
#070718 #08081D #15154D #22227D #2F2FAD

Accessibility & contrast

On white

16.85
#15154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#15154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15154D
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15154D#FFFFFF#000000##FFFFFF
##15154D1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #15154d;
/* rgb */ color: rgb(21, 21, 77);
/* oklch */ color: oklch(23.9% 0.100 275.7);
Tailwind
colors: {
  custom: {
    50: '#5b527f',
    500: '#15154d',
    950: '#000000',
  },
}
SCSS
$custom: #15154d;
$custom-light: #5b527f;
$custom-dark: #000000;
JSON
{
  "hex": "#15154d",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 240,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23946,
    "c": 0.10013,
    "h": 275.7
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#15154D
secondary
#858539
accent
#E047E0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #15154D

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

Preview Lab → · Contrast checker → · Palette generator →

#15154D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva