#15188F#15188F

#15188F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.185 H 268.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#15188F
RGBrgb(21, 24, 143)
HSLhsl(239, 74%, 32%)
HSVhsv(239, 85%, 56%)
CMYKcmyk(85.3%, 83.2%, 0%, 43.9%)
CIE-LABlab(19.20, 42.73, -63.74)
CIE-LCHlch(19.20, 76.74, 303.83°)
OKLaboklab(32.2% -0.0036 -0.1846)
OKLCHoklch(32.2% 0.185 268.9)
XYZxyz(5.5921, 2.7952, 26.2261)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15188F #8F8C15
analogous
#15558F #15188F #4F158F
triadic
#15188F #8F1518 #188F15
tetradic
#15188F #8F1555 #8F8C15 #158F4F
square
#15188F #8F1555 #8F8C15 #158F4F
split-complementary
#15188F #8F4F15 #558F15
monochromatic
#050624 #0D0F5A #15188F #1D21C4 #3C40E2

Accessibility & contrast

On white

13.47
#15188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#15188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15188F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15188F#FFFFFF#000000##FFFFFF
##15188F1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15188f;
/* rgb */ color: rgb(21, 24, 143);
/* oklch */ color: oklch(32.2% 0.185 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d58b1',
    500: '#15188f',
    950: '#000000',
  },
}
SCSS
$custom: #15188f;
$custom-light: #6d58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#15188f",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 238.525,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.18463,
    "h": 268.9
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#15188F
secondary
#C2BF3E
accent
#EC37F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #15188F

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

Preview Lab → · Contrast checker → · Palette generator →

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