#15145F#15145F

#15145F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.127 H 273.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#15145F
RGBrgb(21, 20, 95)
HSLhsl(241, 65%, 23%)
HSVhsv(241, 79%, 37%)
CMYKcmyk(77.9%, 78.9%, 0%, 62.7%)
CIE-LABlab(12.52, 28.20, -43.90)
CIE-LCHlch(12.52, 52.18, 302.72°)
OKLaboklab(25.79% 0.0077 -0.127)
OKLCHoklch(25.79% 0.127 273.5)
XYZxyz(2.6243, 1.4857, 10.9727)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15145F #5E5F14
analogous
#14385F #15145F #3A145F
triadic
#15145F #5F1514 #145F15
tetradic
#15145F #5F1438 #5E5F14 #145F3A
square
#15145F #5F1438 #5E5F14 #145F3A
split-complementary
#15145F #5F3A14 #385F14
monochromatic
#060519 #0A092C #15145F #201F92 #2B29C4

Accessibility & contrast

On white

16.19
#15145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#15145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15145F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15145F#FFFFFF#000000##FFFFFF
##15145F1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #15145f;
/* rgb */ color: rgb(21, 20, 95);
/* oklch */ color: oklch(25.8% 0.127 273.5);
Tailwind
colors: {
  custom: {
    50: '#60528d',
    500: '#15145f',
    950: '#000000',
  },
}
SCSS
$custom: #15145f;
$custom-light: #60528d;
$custom-dark: #000000;
JSON
{
  "hex": "#15145f",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 240.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25785,
    "c": 0.12725,
    "h": 273.5
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15145F

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

Preview Lab → · Contrast checker → · Palette generator →

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