#15155E#15155E

#15155E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.125 H 273.4°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#15155E
RGBrgb(21, 21, 94)
HSLhsl(240, 63%, 23%)
HSVhsv(240, 78%, 37%)
CMYKcmyk(77.7%, 77.7%, 0%, 63.1%)
CIE-LABlab(12.63, 27.19, -43.05)
CIE-LCHlch(12.63, 50.91, 302.27°)
OKLaboklab(25.83% 0.0073 -0.1245)
OKLCHoklch(25.83% 0.125 273.4)
XYZxyz(2.5971, 1.5037, 10.7409)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15155E #5E5E15
analogous
#15395E #15155E #39155E
triadic
#15155E #5E1515 #155E15
tetradic
#15155E #5E1539 #5E5E15 #155E39
square
#15155E #5E1539 #5E5E15 #155E39
split-complementary
#15155E #5E3915 #395E15
monochromatic
#060619 #0A0A2C #15155E #202090 #2B2BC2

Accessibility & contrast

On white

16.14
#15155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15155E
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15155E#FFFFFF#000000##FFFFFF
##15155E1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #15155e;
/* rgb */ color: rgb(21, 21, 94);
/* oklch */ color: oklch(25.8% 0.125 273.4);
Tailwind
colors: {
  custom: {
    50: '#60538d',
    500: '#15155e',
    950: '#000000',
  },
}
SCSS
$custom: #15155e;
$custom-light: #60538d;
$custom-dark: #000000;
JSON
{
  "hex": "#15155e",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 240,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25832,
    "c": 0.12474,
    "h": 273.4
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#15155E
secondary
#959539
accent
#E741E7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15155E

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

Preview Lab → · Contrast checker → · Palette generator →

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