#15138E#15138E

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

Color values

HEX#15138E
RGBrgb(21, 19, 142)
HSLhsl(241, 76%, 32%)
HSVhsv(241, 87%, 56%)
CMYKcmyk(85.2%, 86.6%, 0%, 44.3%)
CIE-LABlab(18.27, 44.79, -64.68)
CIE-LCHlch(18.27, 78.67, 304.70°)
OKLaboklab(31.51% -0.0026 -0.1872)
OKLCHoklch(31.51% 0.187 269.2)
XYZxyz(5.4230, 2.5775, 25.7976)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15138E #8C8E13
analogous
#134F8E #15138E #53138E
triadic
#15138E #8E1513 #138E15
tetradic
#15138E #8E134F #8C8E13 #138E53
square
#15138E #8E134F #8C8E13 #138E53
split-complementary
#15138E #8E5313 #4F8E13
monochromatic
#050522 #0D0C58 #15138E #1D1AC4 #3A37E4

Accessibility & contrast

On white

13.86
#15138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#15138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15138E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15138E#FFFFFF#000000##FFFFFF
##15138E1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15138e;
/* rgb */ color: rgb(21, 19, 142);
/* oklch */ color: oklch(31.5% 0.187 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e55b0',
    500: '#15138e',
    950: '#000000',
  },
}
SCSS
$custom: #15138e;
$custom-light: #6e55b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15138e",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 240.976,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31511,
    "c": 0.18722,
    "h": 269.2
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#15138E
secondary
#C0C23B
accent
#F335F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #15138E

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

Preview Lab → · Contrast checker → · Palette generator →

#15138E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva