#15196E#15196E

#15196E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.142 H 271.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#15196E
RGBrgb(21, 25, 110)
HSLhsl(237, 68%, 26%)
HSVhsv(237, 81%, 43%)
CMYKcmyk(80.9%, 77.3%, 0%, 56.9%)
CIE-LABlab(15.38, 30.61, -49.07)
CIE-LCHlch(15.38, 57.83, 301.96°)
OKLaboklab(28.34% 0.0024 -0.1421)
OKLCHoklch(28.34% 0.142 271)
XYZxyz(3.4704, 1.9801, 14.9481)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15196E #6E6A15
analogous
#15456E #15196E #3D156E
triadic
#15196E #6E1519 #196E15
tetradic
#15196E #6E1545 #6E6A15 #156E3D
square
#15196E #6E1545 #6E6A15 #156E3D
split-complementary
#15196E #6E3D15 #456E15
monochromatic
#05061A #0B0D3B #15196E #1F25A1 #2930D5

Accessibility & contrast

On white

15.04
#15196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#15196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15196E
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15196E#FFFFFF#000000##FFFFFF
##15196E1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #15196e;
/* rgb */ color: rgb(21, 25, 110);
/* oklch */ color: oklch(28.3% 0.142 271.0);
Tailwind
colors: {
  custom: {
    50: '#645699',
    500: '#15196e',
    950: '#000000',
  },
}
SCSS
$custom: #15196e;
$custom-light: #645699;
$custom-dark: #000000;
JSON
{
  "hex": "#15196e",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 237.303,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2834,
    "c": 0.14209,
    "h": 271
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#15196E
secondary
#A4A03A
accent
#E33DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15196E

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

Preview Lab → · Contrast checker → · Palette generator →

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