#15188D#15188D

#15188D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.182 H 269.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#15188D
RGBrgb(21, 24, 141)
HSLhsl(239, 74%, 32%)
HSVhsv(239, 85%, 55%)
CMYKcmyk(85.1%, 83%, 0%, 44.7%)
CIE-LABlab(18.95, 42.07, -62.92)
CIE-LCHlch(18.95, 75.68, 303.77°)
OKLaboklab(31.95% -0.0032 -0.1822)
OKLCHoklch(31.95% 0.182 269)
XYZxyz(5.4420, 2.7351, 25.4353)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15188D #8D8A15
analogous
#15548D #15188D #4E158D
triadic
#15188D #8D1518 #188D15
tetradic
#15188D #8D1554 #8D8A15 #158D4E
square
#15188D #8D1554 #8D8A15 #158D4E
split-complementary
#15188D #8D4E15 #548D15
monochromatic
#050622 #0D0F58 #15188D #1D21C2 #3B3FE2

Accessibility & contrast

On white

13.57
#15188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#15188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15188D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15188D#FFFFFF#000000##FFFFFF
##15188D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15188d;
/* rgb */ color: rgb(21, 24, 141);
/* oklch */ color: oklch(31.9% 0.182 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d58b0',
    500: '#15188d',
    950: '#000000',
  },
}
SCSS
$custom: #15188d;
$custom-light: #6d58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15188d",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 238.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31948,
    "c": 0.18224,
    "h": 269
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15188D

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

Preview Lab → · Contrast checker → · Palette generator →

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