#15155A#15155A

#15155A is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.4% C 0.119 H 273.9°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#15155A
RGBrgb(21, 21, 90)
HSLhsl(240, 62%, 22%)
HSVhsv(240, 77%, 35%)
CMYKcmyk(76.7%, 76.7%, 0%, 64.7%)
CIE-LABlab(12.18, 25.67, -41.10)
CIE-LCHlch(12.18, 48.46, 301.99°)
OKLaboklab(25.37% 0.0081 -0.1189)
OKLCHoklch(25.37% 0.119 273.9)
XYZxyz(2.4223, 1.4337, 9.8200)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15155A #5A5A15
analogous
#15385A #15155A #38155A
triadic
#15155A #5A1515 #155A15
tetradic
#15155A #5A1538 #5A5A15 #155A38
square
#15155A #5A1538 #5A5A15 #155A38
split-complementary
#15155A #5A3815 #385A15
monochromatic
#060619 #090928 #15155A #21218C #2C2CBD

Accessibility & contrast

On white

16.32
#15155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15155A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15155A#FFFFFF#000000##FFFFFF
##15155A1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15155a;
/* rgb */ color: rgb(21, 21, 90);
/* oklch */ color: oklch(25.4% 0.119 273.9);
Tailwind
colors: {
  custom: {
    50: '#5f5389',
    500: '#15155a',
    950: '#000000',
  },
}
SCSS
$custom: #15155a;
$custom-light: #5f5389;
$custom-dark: #000000;
JSON
{
  "hex": "#15155a",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 240,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25374,
    "c": 0.11913,
    "h": 273.9
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15155A

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

Preview Lab → · Contrast checker → · Palette generator →

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