#15135F#15135F

#15135F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.128 H 273.7°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#15135F
RGBrgb(21, 19, 95)
HSLhsl(242, 67%, 22%)
HSVhsv(242, 80%, 37%)
CMYKcmyk(77.9%, 80%, 0%, 62.7%)
CIE-LABlab(12.29, 28.83, -44.27)
CIE-LCHlch(12.29, 52.83, 303.08°)
OKLaboklab(25.63% 0.0083 -0.1281)
OKLCHoklch(25.63% 0.128 273.7)
XYZxyz(2.6070, 1.4511, 10.9670)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15135F #5D5F13
analogous
#13375F #15135F #3B135F
triadic
#15135F #5F1513 #135F15
tetradic
#15135F #5F1337 #5D5F13 #135F3B
square
#15135F #5F1337 #5D5F13 #135F3B
split-complementary
#15135F #5F3B13 #375F13
monochromatic
#06051A #0A092C #15135F #201D92 #2C27C5

Accessibility & contrast

On white

16.28
#15135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15135F
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15135F#FFFFFF#000000##FFFFFF
##15135F1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15135f;
/* rgb */ color: rgb(21, 19, 95);
/* oklch */ color: oklch(25.6% 0.128 273.7);
Tailwind
colors: {
  custom: {
    50: '#60528d',
    500: '#15135f',
    950: '#000000',
  },
}
SCSS
$custom: #15135f;
$custom-light: #60528d;
$custom-dark: #000000;
JSON
{
  "hex": "#15135f",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 241.579,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25627,
    "c": 0.12835,
    "h": 273.7
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#15135F
secondary
#949737
accent
#EA3EE5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #15135F

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

Preview Lab → · Contrast checker → · Palette generator →

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