#15124B#15124B

#15124B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.101 H 277.3°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#15124B
RGBrgb(21, 18, 75)
HSLhsl(243, 61%, 18%)
HSVhsv(243, 76%, 29%)
CMYKcmyk(72%, 76%, 0%, 70.6%)
CIE-LABlab(9.80, 21.96, -34.77)
CIE-LCHlch(9.80, 41.12, 302.28°)
OKLaboklab(23.17% 0.0129 -0.1003)
OKLCHoklch(23.17% 0.101 277.3)
XYZxyz(1.7952, 1.0999, 6.7729)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15124B #484B12
analogous
#122B4B #15124B #31124B
triadic
#15124B #4B1512 #124B15
tetradic
#15124B #4B122B #484B12 #124B31
square
#15124B #4B122B #484B12 #124B31
split-complementary
#15124B #4B3112 #2B4B12
monochromatic
#070619 #07061A #15124B #231E7C #312AAE

Accessibility & contrast

On white

17.21
#15124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#15124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15124B
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15124B#FFFFFF#000000##FFFFFF
##15124B1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #15124b;
/* rgb */ color: rgb(21, 18, 75);
/* oklch */ color: oklch(23.2% 0.101 277.3);
Tailwind
colors: {
  custom: {
    50: '#5b507e',
    500: '#15124b',
    950: '#000000',
  },
}
SCSS
$custom: #15124b;
$custom-light: #5b507e;
$custom-dark: #000000;
JSON
{
  "hex": "#15124b",
  "rgb": {
    "r": 21,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 243.158,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23166,
    "c": 0.10117,
    "h": 277.3
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#15124B
secondary
#808435
accent
#E443DC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #15124B

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

Preview Lab → · Contrast checker → · Palette generator →

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