#15124F#15124F

#15124F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.107 H 276.5°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#15124F
RGBrgb(21, 18, 79)
HSLhsl(243, 63%, 19%)
HSVhsv(243, 77%, 31%)
CMYKcmyk(73.4%, 77.2%, 0%, 69%)
CIE-LABlab(10.23, 23.49, -36.82)
CIE-LCHlch(10.23, 43.67, 302.54°)
OKLaboklab(23.61% 0.0122 -0.1063)
OKLCHoklch(23.61% 0.107 276.5)
XYZxyz(1.9364, 1.1564, 7.5168)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15124F #4C4F12
analogous
#122E4F #15124F #34124F
triadic
#15124F #4F1512 #124F15
tetradic
#15124F #4F122E #4C4F12 #124F34
square
#15124F #4F122E #4C4F12 #124F34
split-complementary
#15124F #4F3412 #2E4F12
monochromatic
#070619 #08071D #15124F #221D81 #2F29B3

Accessibility & contrast

On white

17.05
#15124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15124F
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15124F#FFFFFF#000000##FFFFFF
##15124F1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #15124f;
/* rgb */ color: rgb(21, 18, 79);
/* oklch */ color: oklch(23.6% 0.107 276.5);
Tailwind
colors: {
  custom: {
    50: '#5c5081',
    500: '#15124f',
    950: '#000000',
  },
}
SCSS
$custom: #15124f;
$custom-light: #5c5081;
$custom-dark: #000000;
JSON
{
  "hex": "#15124f",
  "rgb": {
    "r": 21,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 242.951,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2361,
    "c": 0.10704,
    "h": 276.5
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#15124F
secondary
#848835
accent
#E642DE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #15124F

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

Preview Lab → · Contrast checker → · Palette generator →

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