#15124E#15124E

#15124E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.106 H 276.7°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#15124E
RGBrgb(21, 18, 78)
HSLhsl(243, 63%, 19%)
HSVhsv(243, 77%, 31%)
CMYKcmyk(73.1%, 76.9%, 0%, 69.4%)
CIE-LABlab(10.12, 23.11, -36.31)
CIE-LCHlch(10.12, 43.04, 302.48°)
OKLaboklab(23.5% 0.0124 -0.1048)
OKLCHoklch(23.5% 0.106 276.7)
XYZxyz(1.9003, 1.1419, 7.3265)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15124E #4B4E12
analogous
#122D4E #15124E #33124E
triadic
#15124E #4E1512 #124E15
tetradic
#15124E #4E122D #4B4E12 #124E33
square
#15124E #4E122D #4B4E12 #124E33
split-complementary
#15124E #4E3312 #2D4E12
monochromatic
#070619 #08071C #15124E #221D80 #3029B1

Accessibility & contrast

On white

17.10
#15124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#15124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15124E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15124E#FFFFFF#000000##FFFFFF
##15124E1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #15124e;
/* rgb */ color: rgb(21, 18, 78);
/* oklch */ color: oklch(23.5% 0.106 276.7);
Tailwind
colors: {
  custom: {
    50: '#5c5080',
    500: '#15124e',
    950: '#000000',
  },
}
SCSS
$custom: #15124e;
$custom-light: #5c5080;
$custom-dark: #000000;
JSON
{
  "hex": "#15124e",
  "rgb": {
    "r": 21,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 243,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23498,
    "c": 0.10558,
    "h": 276.7
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#15124E
secondary
#838735
accent
#E642DD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #15124E

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

Preview Lab → · Contrast checker → · Palette generator →

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