#15155B#15155B

#15155B is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.5% C 0.121 H 273.8°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#15155B
RGBrgb(21, 21, 91)
HSLhsl(240, 63%, 22%)
HSVhsv(240, 77%, 36%)
CMYKcmyk(76.9%, 76.9%, 0%, 64.3%)
CIE-LABlab(12.29, 26.05, -41.59)
CIE-LCHlch(12.29, 49.08, 302.06°)
OKLaboklab(25.49% 0.0079 -0.1203)
OKLCHoklch(25.49% 0.121 273.8)
XYZxyz(2.4651, 1.4508, 10.0456)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15155B #5B5B15
analogous
#15385B #15155B #38155B
triadic
#15155B #5B1515 #155B15
tetradic
#15155B #5B1538 #5B5B15 #155B38
square
#15155B #5B1538 #5B5B15 #155B38
split-complementary
#15155B #5B3815 #385B15
monochromatic
#060619 #0A0A29 #15155B #20208D #2C2CBE

Accessibility & contrast

On white

16.28
#15155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15155B
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15155B#FFFFFF#000000##FFFFFF
##15155B1.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)
#00235D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15155b;
/* rgb */ color: rgb(21, 21, 91);
/* oklch */ color: oklch(25.5% 0.121 273.8);
Tailwind
colors: {
  custom: {
    50: '#5f538a',
    500: '#15155b',
    950: '#000000',
  },
}
SCSS
$custom: #15155b;
$custom-light: #5f538a;
$custom-dark: #000000;
JSON
{
  "hex": "#15155b",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 240,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25488,
    "c": 0.12055,
    "h": 273.8
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#15155B
secondary
#929239
accent
#E642E6
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #15155B

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

Preview Lab → · Contrast checker → · Palette generator →

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