#15145A#15145A

#15145A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.120 H 274.1°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#15145A
RGBrgb(21, 20, 90)
HSLhsl(241, 64%, 22%)
HSVhsv(241, 78%, 35%)
CMYKcmyk(76.7%, 77.8%, 0%, 64.7%)
CIE-LABlab(11.94, 26.33, -41.50)
CIE-LCHlch(11.94, 49.15, 302.40°)
OKLaboklab(25.2% 0.0087 -0.12)
OKLCHoklch(25.2% 0.12 274.1)
XYZxyz(2.4043, 1.3977, 9.8140)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15145A #595A14
analogous
#14365A #15145A #38145A
triadic
#15145A #5A1514 #145A15
tetradic
#15145A #5A1436 #595A14 #145A38
square
#15145A #5A1436 #595A14 #145A38
split-complementary
#15145A #5A3814 #365A14
monochromatic
#060619 #090928 #15145A #211F8C #2C2ABE

Accessibility & contrast

On white

16.41
#15145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#15145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15145A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15145A#FFFFFF#000000##FFFFFF
##15145A1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #15145a;
/* rgb */ color: rgb(21, 20, 90);
/* oklch */ color: oklch(25.2% 0.120 274.1);
Tailwind
colors: {
  custom: {
    50: '#5f5289',
    500: '#15145a',
    950: '#000000',
  },
}
SCSS
$custom: #15145a;
$custom-light: #5f5289;
$custom-dark: #000000;
JSON
{
  "hex": "#15145a",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 240.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25204,
    "c": 0.12031,
    "h": 274.1
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#15145A
secondary
#919238
accent
#E741E4
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #15145A

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

Preview Lab → · Contrast checker → · Palette generator →

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