#15148D#15148D

#15148D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.185 H 269.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#15148D
RGBrgb(21, 20, 141)
HSLhsl(240, 75%, 32%)
HSVhsv(240, 86%, 55%)
CMYKcmyk(85.1%, 85.8%, 0%, 44.7%)
CIE-LABlab(18.29, 44.02, -64.02)
CIE-LCHlch(18.29, 77.69, 304.51°)
OKLaboklab(31.49% -0.0025 -0.1853)
OKLCHoklch(31.49% 0.185 269.2)
XYZxyz(5.3655, 2.5822, 25.4098)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15148D #8C8D14
analogous
#14508D #15148D #52148D
triadic
#15148D #8D1514 #148D15
tetradic
#15148D #8D1450 #8C8D14 #148D52
square
#15148D #8D1450 #8C8D14 #148D52
split-complementary
#15148D #8D5214 #508D14
monochromatic
#050522 #0D0C57 #15148D #1D1CC3 #3A39E3

Accessibility & contrast

On white

13.85
#15148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#15148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15148D
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15148D#FFFFFF#000000##FFFFFF
##15148D1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00268B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15148d;
/* rgb */ color: rgb(21, 20, 141);
/* oklch */ color: oklch(31.5% 0.185 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d56b0',
    500: '#15148d',
    950: '#000000',
  },
}
SCSS
$custom: #15148d;
$custom-light: #6d56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15148d",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 240.496,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31487,
    "c": 0.18534,
    "h": 269.2
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#15148D
secondary
#C0C13C
accent
#F236F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #15148D

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

Preview Lab → · Contrast checker → · Palette generator →

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