#15124A#15124A

#15124A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.100 H 277.5°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#15124A
RGBrgb(21, 18, 74)
HSLhsl(243, 61%, 18%)
HSVhsv(243, 76%, 29%)
CMYKcmyk(71.6%, 75.7%, 0%, 71%)
CIE-LABlab(9.69, 21.57, -34.25)
CIE-LCHlch(9.69, 40.48, 302.21°)
OKLaboklab(23.06% 0.0131 -0.0988)
OKLCHoklch(23.06% 0.1 277.5)
XYZxyz(1.7612, 1.0863, 6.5941)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15124A #474A12
analogous
#122B4A #15124A #31124A
triadic
#15124A #4A1512 #124A15
tetradic
#15124A #4A122B #474A12 #124A31
square
#15124A #4A122B #474A12 #124A31
split-complementary
#15124A #4A3112 #2B4A12
monochromatic
#070619 #070619 #15124A #231E7B #312AAC

Accessibility & contrast

On white

17.25
#15124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15124A
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15124A#FFFFFF#000000##FFFFFF
##15124A1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #15124a;
/* rgb */ color: rgb(21, 18, 74);
/* oklch */ color: oklch(23.1% 0.100 277.5);
Tailwind
colors: {
  custom: {
    50: '#5b507d',
    500: '#15124a',
    950: '#000000',
  },
}
SCSS
$custom: #15124a;
$custom-light: #5b507d;
$custom-dark: #000000;
JSON
{
  "hex": "#15124a",
  "rgb": {
    "r": 21,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 243.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23057,
    "c": 0.09967,
    "h": 277.5
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#15124A
secondary
#7F8335
accent
#E444DB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #15124A

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

Preview Lab → · Contrast checker → · Palette generator →

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