#15148F#15148F

#15148F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.188 H 269.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#15148F
RGBrgb(21, 20, 143)
HSLhsl(240, 75%, 32%)
HSVhsv(240, 86%, 56%)
CMYKcmyk(85.3%, 86%, 0%, 43.9%)
CIE-LABlab(18.55, 44.66, -64.83)
CIE-LCHlch(18.55, 78.72, 304.56°)
OKLaboklab(31.74% -0.0029 -0.1877)
OKLCHoklch(31.74% 0.188 269.1)
XYZxyz(5.5157, 2.6422, 26.2006)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15148F #8E8F14
analogous
#14518F #15148F #53148F
triadic
#15148F #8F1514 #148F15
tetradic
#15148F #8F1451 #8E8F14 #148F53
square
#15148F #8F1451 #8E8F14 #148F53
split-complementary
#15148F #8F5314 #518F14
monochromatic
#050524 #0D0C59 #15148F #1D1CC5 #3B3AE3

Accessibility & contrast

On white

13.74
#15148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#15148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15148F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15148F#FFFFFF#000000##FFFFFF
##15148F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00268D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15148f;
/* rgb */ color: rgb(21, 20, 143);
/* oklch */ color: oklch(31.7% 0.188 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e56b1',
    500: '#15148f',
    950: '#000000',
  },
}
SCSS
$custom: #15148f;
$custom-light: #6e56b1;
$custom-dark: #000000;
JSON
{
  "hex": "#15148f",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 240.488,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31744,
    "c": 0.18768,
    "h": 269.1
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#15148F
secondary
#C2C33C
accent
#F236F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #15148F

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

Preview Lab → · Contrast checker → · Palette generator →

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