#15135D#15135D

#15135D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.126 H 274.0°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#15135D
RGBrgb(21, 19, 93)
HSLhsl(242, 66%, 22%)
HSVhsv(242, 80%, 36%)
CMYKcmyk(77.4%, 79.6%, 0%, 63.5%)
CIE-LABlab(12.06, 28.10, -43.32)
CIE-LCHlch(12.06, 51.64, 302.97°)
OKLaboklab(25.39% 0.0087 -0.1253)
OKLCHoklch(25.39% 0.126 274)
XYZxyz(2.5173, 1.4152, 10.4943)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15135D #5B5D13
analogous
#13365D #15135D #3A135D
triadic
#15135D #5D1513 #135D15
tetradic
#15135D #5D1336 #5B5D13 #135D3A
square
#15135D #5D1336 #5B5D13 #135D3A
split-complementary
#15135D #5D3A13 #365D13
monochromatic
#060519 #0A092A #15135D #201D90 #2C28C3

Accessibility & contrast

On white

16.37
#15135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#15135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15135D
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15135D#FFFFFF#000000##FFFFFF
##15135D1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15135d;
/* rgb */ color: rgb(21, 19, 93);
/* oklch */ color: oklch(25.4% 0.126 274.0);
Tailwind
colors: {
  custom: {
    50: '#60528c',
    500: '#15135d',
    950: '#000000',
  },
}
SCSS
$custom: #15135d;
$custom-light: #60528c;
$custom-dark: #000000;
JSON
{
  "hex": "#15135d",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 241.622,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25391,
    "c": 0.12561,
    "h": 274
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#15135D
secondary
#929537
accent
#E93FE4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15135D

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

Preview Lab → · Contrast checker → · Palette generator →

#15135D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva