#15145E#15145E

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

Color values

HEX#15145E
RGBrgb(21, 20, 94)
HSLhsl(241, 65%, 22%)
HSVhsv(241, 79%, 37%)
CMYKcmyk(77.7%, 78.7%, 0%, 63.1%)
CIE-LABlab(12.40, 27.83, -43.43)
CIE-LCHlch(12.40, 51.58, 302.66°)
OKLaboklab(25.67% 0.0079 -0.1256)
OKLCHoklch(25.67% 0.126 273.6)
XYZxyz(2.5791, 1.4676, 10.7349)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15145E #5D5E14
analogous
#14385E #15145E #3A145E
triadic
#15145E #5E1514 #145E15
tetradic
#15145E #5E1438 #5D5E14 #145E3A
square
#15145E #5E1438 #5D5E14 #145E3A
split-complementary
#15145E #5E3A14 #385E14
monochromatic
#060519 #0A092C #15145E #201F90 #2C29C3

Accessibility & contrast

On white

16.23
#15145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#15145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15145E
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15145E#FFFFFF#000000##FFFFFF
##15145E1.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)
#002460
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15145e;
/* rgb */ color: rgb(21, 20, 94);
/* oklch */ color: oklch(25.7% 0.126 273.6);
Tailwind
colors: {
  custom: {
    50: '#60528d',
    500: '#15145e',
    950: '#000000',
  },
}
SCSS
$custom: #15145e;
$custom-light: #60528d;
$custom-dark: #000000;
JSON
{
  "hex": "#15145e",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 240.811,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25668,
    "c": 0.12588,
    "h": 273.6
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#15145E
secondary
#949638
accent
#E840E6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15145E

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

Preview Lab → · Contrast checker → · Palette generator →

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