#15145C#15145C

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

Color values

HEX#15145C
RGBrgb(21, 20, 92)
HSLhsl(241, 64%, 22%)
HSVhsv(241, 78%, 36%)
CMYKcmyk(77.2%, 78.3%, 0%, 63.9%)
CIE-LABlab(12.17, 27.09, -42.47)
CIE-LCHlch(12.17, 50.37, 302.53°)
OKLaboklab(25.44% 0.0083 -0.1228)
OKLCHoklch(25.44% 0.123 273.9)
XYZxyz(2.4905, 1.4322, 10.2683)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15145C #5B5C14
analogous
#14375C #15145C #39145C
triadic
#15145C #5C1514 #145C15
tetradic
#15145C #5C1437 #5B5C14 #145C39
square
#15145C #5C1437 #5B5C14 #145C39
split-complementary
#15145C #5C3914 #375C14
monochromatic
#060519 #0A092A #15145C #201F8E #2C2AC1

Accessibility & contrast

On white

16.32
#15145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15145C
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15145C#FFFFFF#000000##FFFFFF
##15145C1.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)
#00235E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15145c;
/* rgb */ color: rgb(21, 20, 92);
/* oklch */ color: oklch(25.4% 0.123 273.9);
Tailwind
colors: {
  custom: {
    50: '#5f528b',
    500: '#15145c',
    950: '#000000',
  },
}
SCSS
$custom: #15145c;
$custom-light: #5f528b;
$custom-dark: #000000;
JSON
{
  "hex": "#15145c",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 240.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25435,
    "c": 0.12311,
    "h": 273.9
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#15145C
secondary
#929438
accent
#E741E5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15145C

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

Preview Lab → · Contrast checker → · Palette generator →

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