#15154C#15154C

#15154C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.099 H 275.9°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#15154C
RGBrgb(21, 21, 76)
HSLhsl(240, 57%, 19%)
HSVhsv(240, 72%, 30%)
CMYKcmyk(72.4%, 72.4%, 0%, 70.2%)
CIE-LABlab(10.69, 20.23, -34.00)
CIE-LCHlch(10.69, 39.57, 300.76°)
OKLaboklab(23.84% 0.0101 -0.0981)
OKLCHoklch(23.84% 0.099 275.9)
XYZxyz(1.8815, 1.2174, 6.9719)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15154C #4C4C15
analogous
#15314C #15154C #31154C
triadic
#15154C #4C1515 #154C15
tetradic
#15154C #4C1531 #4C4C15 #154C31
square
#15154C #4C1531 #4C4C15 #154C31
split-complementary
#15154C #4C3115 #314C15
monochromatic
#070718 #08081C #15154C #22227C #2F2FAC

Accessibility & contrast

On white

16.89
#15154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#15154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15154C
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15154C#FFFFFF#000000##FFFFFF
##15154C1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #15154c;
/* rgb */ color: rgb(21, 21, 76);
/* oklch */ color: oklch(23.8% 0.099 275.9);
Tailwind
colors: {
  custom: {
    50: '#5b527f',
    500: '#15154c',
    950: '#000000',
  },
}
SCSS
$custom: #15154c;
$custom-light: #5b527f;
$custom-dark: #000000;
JSON
{
  "hex": "#15154c",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 240,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23841,
    "c": 0.09862,
    "h": 275.9
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#15154C
secondary
#848439
accent
#E048E0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #15154C

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

Preview Lab → · Contrast checker → · Palette generator →

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