#15135E#15135E

#15135E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.127 H 273.8°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#15135E
RGBrgb(21, 19, 94)
HSLhsl(242, 66%, 22%)
HSVhsv(242, 80%, 37%)
CMYKcmyk(77.7%, 79.8%, 0%, 63.1%)
CIE-LABlab(12.18, 28.46, -43.80)
CIE-LCHlch(12.18, 52.23, 303.02°)
OKLaboklab(25.51% 0.0085 -0.1267)
OKLCHoklch(25.51% 0.127 273.8)
XYZxyz(2.5618, 1.4331, 10.7291)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15135E #5C5E13
analogous
#13375E #15135E #3B135E
triadic
#15135E #5E1513 #135E15
tetradic
#15135E #5E1337 #5C5E13 #135E3B
square
#15135E #5E1337 #5C5E13 #135E3B
split-complementary
#15135E #5E3B13 #375E13
monochromatic
#060519 #0A092B #15135E #201D91 #2C28C4

Accessibility & contrast

On white

16.32
#15135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#15135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15135E
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15135E#FFFFFF#000000##FFFFFF
##15135E1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15135e;
/* rgb */ color: rgb(21, 19, 94);
/* oklch */ color: oklch(25.5% 0.127 273.8);
Tailwind
colors: {
  custom: {
    50: '#60528d',
    500: '#15135e',
    950: '#000000',
  },
}
SCSS
$custom: #15135e;
$custom-light: #60528d;
$custom-dark: #000000;
JSON
{
  "hex": "#15135e",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 241.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25509,
    "c": 0.12698,
    "h": 273.8
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#15135E
secondary
#939637
accent
#E93FE5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15135E

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

Preview Lab → · Contrast checker → · Palette generator →

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