#15196A#15196A

#15196A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.137 H 271.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#15196A
RGBrgb(21, 25, 106)
HSLhsl(237, 67%, 25%)
HSVhsv(237, 80%, 42%)
CMYKcmyk(80.2%, 76.4%, 0%, 58.4%)
CIE-LABlab(14.93, 29.11, -47.21)
CIE-LCHlch(14.93, 55.46, 301.66°)
OKLaboklab(27.88% 0.0031 -0.1367)
OKLCHoklch(27.88% 0.137 271.3)
XYZxyz(3.2575, 1.8949, 13.8270)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15196A #6A6615
analogous
#15446A #15196A #3B156A
triadic
#15196A #6A1519 #196A15
tetradic
#15196A #6A1544 #6A6615 #156A3B
square
#15196A #6A1544 #6A6615 #156A3B
split-complementary
#15196A #6A3B15 #446A15
monochromatic
#05061A #0B0D37 #15196A #1F259D #2931D0

Accessibility & contrast

On white

15.23
#15196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#15196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15196A
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15196A#FFFFFF#000000##FFFFFF
##15196A1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #15196a;
/* rgb */ color: rgb(21, 25, 106);
/* oklch */ color: oklch(27.9% 0.137 271.3);
Tailwind
colors: {
  custom: {
    50: '#635696',
    500: '#15196a',
    950: '#000000',
  },
}
SCSS
$custom: #15196a;
$custom-light: #635696;
$custom-dark: #000000;
JSON
{
  "hex": "#15196a",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 237.176,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27878,
    "c": 0.13669,
    "h": 271.3
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#15196A
secondary
#A19C3A
accent
#E23EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #15196A

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

Preview Lab → · Contrast checker → · Palette generator →

#15196A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva