#15155C#15155C

#15155C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.122 H 273.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#15155C
RGBrgb(21, 21, 92)
HSLhsl(240, 63%, 22%)
HSVhsv(240, 77%, 36%)
CMYKcmyk(77.2%, 77.2%, 0%, 63.9%)
CIE-LABlab(12.40, 26.43, -42.08)
CIE-LCHlch(12.40, 49.69, 302.14°)
OKLaboklab(25.6% 0.0077 -0.1217)
OKLCHoklch(25.6% 0.122 273.6)
XYZxyz(2.5085, 1.4682, 10.2743)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15155C #5C5C15
analogous
#15395C #15155C #39155C
triadic
#15155C #5C1515 #155C15
tetradic
#15155C #5C1539 #5C5C15 #155C39
square
#15155C #5C1539 #5C5C15 #155C39
split-complementary
#15155C #5C3915 #395C15
monochromatic
#060619 #0A0A2A #15155C #20208E #2C2CC0

Accessibility & contrast

On white

16.23
#15155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#15155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15155C
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15155C#FFFFFF#000000##FFFFFF
##15155C1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15155c;
/* rgb */ color: rgb(21, 21, 92);
/* oklch */ color: oklch(25.6% 0.122 273.6);
Tailwind
colors: {
  custom: {
    50: '#5f538b',
    500: '#15155c',
    950: '#000000',
  },
}
SCSS
$custom: #15155c;
$custom-light: #5f538b;
$custom-dark: #000000;
JSON
{
  "hex": "#15155c",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 240,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25602,
    "c": 0.12195,
    "h": 273.6
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15155C

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

Preview Lab → · Contrast checker → · Palette generator →

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