#15107E#15107E

#15107E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.1% C 0.170 H 270.6°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#15107E
RGBrgb(21, 16, 126)
HSLhsl(243, 77%, 28%)
HSVhsv(243, 87%, 49%)
CMYKcmyk(83.3%, 87.3%, 0%, 50.6%)
CIE-LABlab(15.67, 41.07, -58.89)
CIE-LCHlch(15.67, 71.80, 304.89°)
OKLaboklab(29.12% 0.0017 -0.1704)
OKLCHoklch(29.12% 0.17 270.6)
XYZxyz(4.2592, 2.0359, 19.9031)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15107E #797E10
analogous
#10427E #15107E #4C107E
triadic
#15107E #7E1510 #107E15
tetradic
#15107E #7E1042 #797E10 #107E4C
square
#15107E #7E1042 #797E10 #107E4C
split-complementary
#15107E #7E4C10 #427E10
monochromatic
#05031B #0C0948 #15107E #1E17B4 #2E25E3

Accessibility & contrast

On white

14.92
#15107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#15107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15107E
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15107E#FFFFFF#000000##FFFFFF
##15107E1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C81
Deuteranopia (green-blind)
#00217C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15107e;
/* rgb */ color: rgb(21, 16, 126);
/* oklch */ color: oklch(29.1% 0.170 270.6);
Tailwind
colors: {
  custom: {
    50: '#6953a5',
    500: '#15107e',
    950: '#000000',
  },
}
SCSS
$custom: #15107e;
$custom-light: #6953a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15107e",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 242.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29122,
    "c": 0.17043,
    "h": 270.6
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#15107E
secondary
#AFB436
accent
#F434EB
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08020F
muted
#7A787F

Preview Lab

Preview with #15107E

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

Preview Lab → · Contrast checker → · Palette generator →

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