#15104C#15104C

#15104C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.105 H 277.8°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#15104C
RGBrgb(21, 16, 76)
HSLhsl(245, 65%, 18%)
HSVhsv(245, 79%, 30%)
CMYKcmyk(72.4%, 78.9%, 0%, 70.2%)
CIE-LABlab(9.41, 23.69, -36.09)
CIE-LCHlch(9.41, 43.17, 303.29°)
OKLaboklab(22.93% 0.0143 -0.1042)
OKLCHoklch(22.93% 0.105 277.8)
XYZxyz(1.7986, 1.0517, 6.9443)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15104C #474C10
analogous
#10294C #15104C #33104C
triadic
#15104C #4C1510 #104C15
tetradic
#15104C #4C1029 #474C10 #104C33
square
#15104C #4C1029 #474C10 #104C33
split-complementary
#15104C #4C3310 #294C10
monochromatic
#070519 #070519 #15104C #231B7F #3125B1

Accessibility & contrast

On white

17.35
#15104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#15104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15104C
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15104C#FFFFFF#000000##FFFFFF
##15104C1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #15104c;
/* rgb */ color: rgb(21, 16, 76);
/* oklch */ color: oklch(22.9% 0.105 277.8);
Tailwind
colors: {
  custom: {
    50: '#5b4f7f',
    500: '#15104c',
    950: '#000000',
  },
}
SCSS
$custom: #15104c;
$custom-light: #5b4f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#15104c",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 245,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22925,
    "c": 0.10518,
    "h": 277.8
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#15104C
secondary
#7F8632
accent
#E840DA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #15104C

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

Preview Lab → · Contrast checker → · Palette generator →

#15104C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva