#15155D#15155D

#15155D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.123 H 273.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#15155D
RGBrgb(21, 21, 93)
HSLhsl(240, 63%, 22%)
HSVhsv(240, 77%, 36%)
CMYKcmyk(77.4%, 77.4%, 0%, 63.5%)
CIE-LABlab(12.52, 26.81, -42.56)
CIE-LCHlch(12.52, 50.30, 302.21°)
OKLaboklab(25.72% 0.0075 -0.1231)
OKLCHoklch(25.72% 0.123 273.5)
XYZxyz(2.5525, 1.4858, 10.5061)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15155D #5D5D15
analogous
#15395D #15155D #39155D
triadic
#15155D #5D1515 #155D15
tetradic
#15155D #5D1539 #5D5D15 #155D39
square
#15155D #5D1539 #5D5D15 #155D39
split-complementary
#15155D #5D3915 #395D15
monochromatic
#060619 #0A0A2B #15155D #20208F #2C2CC1

Accessibility & contrast

On white

16.19
#15155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#15155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15155D
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15155D#FFFFFF#000000##FFFFFF
##15155D1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #15155d;
/* rgb */ color: rgb(21, 21, 93);
/* oklch */ color: oklch(25.7% 0.123 273.5);
Tailwind
colors: {
  custom: {
    50: '#60538c',
    500: '#15155d',
    950: '#000000',
  },
}
SCSS
$custom: #15155d;
$custom-light: #60538c;
$custom-dark: #000000;
JSON
{
  "hex": "#15155d",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 240,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25717,
    "c": 0.12335,
    "h": 273.5
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#15155D
secondary
#949439
accent
#E642E6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15155D

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

Preview Lab → · Contrast checker → · Palette generator →

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