#15196D#15196D

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

Color values

HEX#15196D
RGBrgb(21, 25, 109)
HSLhsl(237, 68%, 25%)
HSVhsv(237, 81%, 43%)
CMYKcmyk(80.7%, 77.1%, 0%, 57.3%)
CIE-LABlab(15.27, 30.24, -48.60)
CIE-LCHlch(15.27, 57.24, 301.89°)
OKLaboklab(28.22% 0.0026 -0.1407)
OKLCHoklch(28.22% 0.141 271)
XYZxyz(3.4163, 1.9584, 14.6630)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15196D #6D6915
analogous
#15456D #15196D #3D156D
triadic
#15196D #6D1519 #196D15
tetradic
#15196D #6D1545 #6D6915 #156D3D
square
#15196D #6D1545 #6D6915 #156D3D
split-complementary
#15196D #6D3D15 #456D15
monochromatic
#05061A #0B0D3A #15196D #1F25A0 #2931D4

Accessibility & contrast

On white

15.09
#15196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#15196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15196D
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15196D#FFFFFF#000000##FFFFFF
##15196D1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15196d;
/* rgb */ color: rgb(21, 25, 109);
/* oklch */ color: oklch(28.2% 0.141 271.0);
Tailwind
colors: {
  custom: {
    50: '#645698',
    500: '#15196d',
    950: '#000000',
  },
}
SCSS
$custom: #15196d;
$custom-light: #645698;
$custom-dark: #000000;
JSON
{
  "hex": "#15196d",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 237.273,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28224,
    "c": 0.14075,
    "h": 271
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15196D

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

Preview Lab → · Contrast checker → · Palette generator →

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