#15154B#15154B

#15154B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.097 H 276.1°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#15154B
RGBrgb(21, 21, 75)
HSLhsl(240, 56%, 19%)
HSVhsv(240, 72%, 29%)
CMYKcmyk(72%, 72%, 0%, 70.6%)
CIE-LABlab(10.58, 19.84, -33.48)
CIE-LCHlch(10.58, 38.91, 300.65°)
OKLaboklab(23.74% 0.0103 -0.0965)
OKLCHoklch(23.74% 0.097 276.1)
XYZxyz(1.8470, 1.2036, 6.7902)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15154B #4B4B15
analogous
#15304B #15154B #30154B
triadic
#15154B #4B1515 #154B15
tetradic
#15154B #4B1530 #4B4B15 #154B30
square
#15154B #4B1530 #4B4B15 #154B30
split-complementary
#15154B #4B3015 #304B15
monochromatic
#070718 #08081B #15154B #22227B #3030AB

Accessibility & contrast

On white

16.92
#15154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15154B
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15154B#FFFFFF#000000##FFFFFF
##15154B1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #15154b;
/* rgb */ color: rgb(21, 21, 75);
/* oklch */ color: oklch(23.7% 0.097 276.1);
Tailwind
colors: {
  custom: {
    50: '#5b527e',
    500: '#15154b',
    950: '#000000',
  },
}
SCSS
$custom: #15154b;
$custom-light: #5b527e;
$custom-dark: #000000;
JSON
{
  "hex": "#15154b",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 240,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23736,
    "c": 0.09709,
    "h": 276.1
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15154B

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

Preview Lab → · Contrast checker → · Palette generator →

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