#15189E#15189E

#15189E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.1% C 0.202 H 268.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#15189E
RGBrgb(21, 24, 158)
HSLhsl(239, 77%, 35%)
HSVhsv(239, 87%, 62%)
CMYKcmyk(86.7%, 84.8%, 0%, 38%)
CIE-LABlab(21.13, 47.56, -69.80)
CIE-LCHlch(21.13, 84.46, 304.27°)
OKLaboklab(34.09% -0.0065 -0.2021)
OKLCHoklch(34.09% 0.202 268.1)
XYZxyz(6.8053, 3.2805, 32.6156)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15189E #9E9B15
analogous
#155D9E #15189E #56159E
triadic
#15189E #9E1518 #189E15
tetradic
#15189E #9E155D #9E9B15 #159E56
square
#15189E #9E155D #9E9B15 #159E56
split-complementary
#15189E #9E5615 #5D9E15
monochromatic
#070832 #0E1068 #15189E #1C20D4 #474AE7

Accessibility & contrast

On white

12.68
#15189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#15189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15189E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15189E#FFFFFF#000000##FFFFFF
##15189E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #15189e;
/* rgb */ color: rgb(21, 24, 158);
/* oklch */ color: oklch(34.1% 0.202 268.1);
Tailwind
colors: {
  custom: {
    50: '#7259bc',
    500: '#15189e',
    950: '#000000',
  },
}
SCSS
$custom: #15189e;
$custom-light: #7259bc;
$custom-dark: #000000;
JSON
{
  "hex": "#15189e",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 238.686,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.2022,
    "h": 268.1
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#15189E
secondary
#C7C547
accent
#EF35F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #15189E

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

Preview Lab → · Contrast checker → · Palette generator →

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