#15146B#15146B

#15146B is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.143 H 272.1°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#15146B
RGBrgb(21, 20, 107)
HSLhsl(241, 69%, 25%)
HSVhsv(241, 81%, 42%)
CMYKcmyk(80.4%, 81.3%, 0%, 58%)
CIE-LABlab(13.95, 32.57, -49.48)
CIE-LCHlch(13.95, 59.24, 303.36°)
OKLaboklab(27.22% 0.0051 -0.1432)
OKLCHoklch(27.22% 0.143 272.1)
XYZxyz(3.2124, 1.7209, 14.0699)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15146B #6A6B14
analogous
#143E6B #15146B #41146B
triadic
#15146B #6B1514 #146B15
tetradic
#15146B #6B143E #6A6B14 #146B41
square
#15146B #6B143E #6A6B14 #146B41
split-complementary
#15146B #6B4114 #3E6B14
monochromatic
#05051A #0B0A37 #15146B #1F1E9F #2927D2

Accessibility & contrast

On white

15.62
#15146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#15146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15146B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15146B#FFFFFF#000000##FFFFFF
##15146B1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#001F69
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #15146b;
/* rgb */ color: rgb(21, 20, 107);
/* oklch */ color: oklch(27.2% 0.143 272.1);
Tailwind
colors: {
  custom: {
    50: '#645396',
    500: '#15146b',
    950: '#000000',
  },
}
SCSS
$custom: #15146b;
$custom-light: #645396;
$custom-dark: #000000;
JSON
{
  "hex": "#15146b",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 240.69,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.2722,
    "c": 0.14331,
    "h": 272.1
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#15146B
secondary
#A1A239
accent
#EB3CE9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #15146B

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

Preview Lab → · Contrast checker → · Palette generator →

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