#15199E#15199E

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

Color values

HEX#15199E
RGBrgb(21, 25, 158)
HSLhsl(238, 77%, 35%)
HSVhsv(238, 87%, 62%)
CMYKcmyk(86.7%, 84.2%, 0%, 38%)
CIE-LABlab(21.29, 47.09, -69.53)
CIE-LCHlch(21.29, 83.98, 304.11°)
OKLaboklab(34.19% -0.0066 -0.2014)
OKLCHoklch(34.19% 0.201 268.1)
XYZxyz(6.8263, 3.3225, 32.6226)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15199E #9E9A15
analogous
#155E9E #15199E #55159E
triadic
#15199E #9E1519 #199E15
tetradic
#15199E #9E155E #9E9A15 #159E55
square
#15199E #9E155E #9E9A15 #159E55
split-complementary
#15199E #9E5515 #5E9E15
monochromatic
#070832 #0E1068 #15199E #1C22D4 #474CE7

Accessibility & contrast

On white

12.62
#15199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15199E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15199E#FFFFFF#000000##FFFFFF
##15199E1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15199e;
/* rgb */ color: rgb(21, 25, 158);
/* oklch */ color: oklch(34.2% 0.201 268.1);
Tailwind
colors: {
  custom: {
    50: '#725abc',
    500: '#15199e',
    950: '#000000',
  },
}
SCSS
$custom: #15199e;
$custom-light: #725abc;
$custom-dark: #000000;
JSON
{
  "hex": "#15199e",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 238.248,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.20147,
    "h": 268.1
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#15199E
secondary
#C7C447
accent
#EE35F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #15199E

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

Preview Lab → · Contrast checker → · Palette generator →

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