#15145B#15145B

#15145B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.122 H 274.0°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#15145B
RGBrgb(21, 20, 91)
HSLhsl(241, 64%, 22%)
HSVhsv(241, 78%, 36%)
CMYKcmyk(76.9%, 78%, 0%, 64.3%)
CIE-LABlab(12.06, 26.71, -41.98)
CIE-LCHlch(12.06, 49.76, 302.47°)
OKLaboklab(25.32% 0.0085 -0.1214)
OKLCHoklch(25.32% 0.122 274)
XYZxyz(2.4471, 1.4148, 10.0396)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15145B #5A5B14
analogous
#14375B #15145B #39145B
triadic
#15145B #5B1514 #145B15
tetradic
#15145B #5B1437 #5A5B14 #145B39
square
#15145B #5B1437 #5A5B14 #145B39
split-complementary
#15145B #5B3914 #375B14
monochromatic
#060619 #090929 #15145B #211F8D #2C2ABF

Accessibility & contrast

On white

16.37
#15145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15145B
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15145B#FFFFFF#000000##FFFFFF
##15145B1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15145b;
/* rgb */ color: rgb(21, 20, 91);
/* oklch */ color: oklch(25.3% 0.122 274.0);
Tailwind
colors: {
  custom: {
    50: '#5f528a',
    500: '#15145b',
    950: '#000000',
  },
}
SCSS
$custom: #15145b;
$custom-light: #5f528a;
$custom-dark: #000000;
JSON
{
  "hex": "#15145b",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 240.845,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2532,
    "c": 0.12172,
    "h": 274
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15145B

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

Preview Lab → · Contrast checker → · Palette generator →

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