#15145D#15145D

#15145D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.124 H 273.7°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#15145D
RGBrgb(21, 20, 93)
HSLhsl(241, 65%, 22%)
HSVhsv(241, 78%, 36%)
CMYKcmyk(77.4%, 78.5%, 0%, 63.5%)
CIE-LABlab(12.29, 27.46, -42.95)
CIE-LCHlch(12.29, 50.98, 302.59°)
OKLaboklab(25.55% 0.0081 -0.1242)
OKLCHoklch(25.55% 0.124 273.7)
XYZxyz(2.5345, 1.4498, 10.5001)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15145D #5C5D14
analogous
#14385D #15145D #3A145D
triadic
#15145D #5D1514 #145D15
tetradic
#15145D #5D1438 #5C5D14 #145D3A
square
#15145D #5D1438 #5C5D14 #145D3A
split-complementary
#15145D #5D3A14 #385D14
monochromatic
#060519 #0A092B #15145D #201F8F #2C2AC2

Accessibility & contrast

On white

16.28
#15145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15145D
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15145D#FFFFFF#000000##FFFFFF
##15145D1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #15145d;
/* rgb */ color: rgb(21, 20, 93);
/* oklch */ color: oklch(25.6% 0.124 273.7);
Tailwind
colors: {
  custom: {
    50: '#60528c',
    500: '#15145d',
    950: '#000000',
  },
}
SCSS
$custom: #15145d;
$custom-light: #60528c;
$custom-dark: #000000;
JSON
{
  "hex": "#15145d",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 240.822,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25551,
    "c": 0.12449,
    "h": 273.7
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#15145D
secondary
#939538
accent
#E840E5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15145D

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

Preview Lab → · Contrast checker → · Palette generator →

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