#15107F#15107F

#15107F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.172 H 270.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#15107F
RGBrgb(21, 16, 127)
HSLhsl(243, 78%, 28%)
HSVhsv(243, 87%, 50%)
CMYKcmyk(83.5%, 87.4%, 0%, 50.2%)
CIE-LABlab(15.81, 41.39, -59.31)
CIE-LCHlch(15.81, 72.32, 304.91°)
OKLaboklab(29.25% 0.0014 -0.1716)
OKLCHoklch(29.25% 0.172 270.5)
XYZxyz(4.3240, 2.0618, 20.2446)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15107F #7A7F10
analogous
#10427F #15107F #4C107F
triadic
#15107F #7F1510 #107F15
tetradic
#15107F #7F1042 #7A7F10 #107F4C
square
#15107F #7F1042 #7A7F10 #107F4C
split-complementary
#15107F #7F4C10 #427F10
monochromatic
#04031B #0C0949 #15107F #1E17B5 #2E26E4

Accessibility & contrast

On white

14.87
#15107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15107F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15107F#FFFFFF#000000##FFFFFF
##15107F1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15107f;
/* rgb */ color: rgb(21, 16, 127);
/* oklch */ color: oklch(29.3% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#6a53a5',
    500: '#15107f',
    950: '#000000',
  },
}
SCSS
$custom: #15107f;
$custom-light: #6a53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15107f",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 242.703,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29252,
    "c": 0.17162,
    "h": 270.5
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#15107F
secondary
#AFB536
accent
#F434EB
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #15107F

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

Preview Lab → · Contrast checker → · Palette generator →

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