#15155F#15155F

#15155F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.126 H 273.2°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#15155F
RGBrgb(21, 21, 95)
HSLhsl(240, 64%, 23%)
HSVhsv(240, 78%, 37%)
CMYKcmyk(77.9%, 77.9%, 0%, 62.7%)
CIE-LABlab(12.75, 27.56, -43.53)
CIE-LCHlch(12.75, 51.52, 302.35°)
OKLaboklab(25.95% 0.0072 -0.1259)
OKLCHoklch(25.95% 0.126 273.2)
XYZxyz(2.6423, 1.5217, 10.9787)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15155F #5F5F15
analogous
#153A5F #15155F #3A155F
triadic
#15155F #5F1515 #155F15
tetradic
#15155F #5F153A #5F5F15 #155F3A
square
#15155F #5F153A #5F5F15 #155F3A
split-complementary
#15155F #5F3A15 #3A5F15
monochromatic
#060619 #0A0A2D #15155F #202091 #2B2BC3

Accessibility & contrast

On white

16.10
#15155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15155F
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15155F#FFFFFF#000000##FFFFFF
##15155F1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15155f;
/* rgb */ color: rgb(21, 21, 95);
/* oklch */ color: oklch(25.9% 0.126 273.2);
Tailwind
colors: {
  custom: {
    50: '#60538d',
    500: '#15155f',
    950: '#000000',
  },
}
SCSS
$custom: #15155f;
$custom-light: #60538d;
$custom-dark: #000000;
JSON
{
  "hex": "#15155f",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 240,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25948,
    "c": 0.12612,
    "h": 273.2
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#15155F
secondary
#96963A
accent
#E741E7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15155F

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

Preview Lab → · Contrast checker → · Palette generator →

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