#15196C#15196C

#15196C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.139 H 271.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#15196C
RGBrgb(21, 25, 108)
HSLhsl(237, 67%, 25%)
HSVhsv(237, 81%, 42%)
CMYKcmyk(80.6%, 76.9%, 0%, 57.6%)
CIE-LABlab(15.15, 29.86, -48.14)
CIE-LCHlch(15.15, 56.65, 301.81°)
OKLaboklab(28.11% 0.0027 -0.1394)
OKLCHoklch(28.11% 0.139 271.1)
XYZxyz(3.3627, 1.9370, 14.3811)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15196C #6C6815
analogous
#15456C #15196C #3C156C
triadic
#15196C #6C1519 #196C15
tetradic
#15196C #6C1545 #6C6815 #156C3C
square
#15196C #6C1545 #6C6815 #156C3C
split-complementary
#15196C #6C3C15 #456C15
monochromatic
#05061A #0B0D39 #15196C #1F259F #2931D2

Accessibility & contrast

On white

15.14
#15196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15196C
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15196C#FFFFFF#000000##FFFFFF
##15196C1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15196c;
/* rgb */ color: rgb(21, 25, 108);
/* oklch */ color: oklch(28.1% 0.139 271.1);
Tailwind
colors: {
  custom: {
    50: '#635697',
    500: '#15196c',
    950: '#000000',
  },
}
SCSS
$custom: #15196c;
$custom-light: #635697;
$custom-dark: #000000;
JSON
{
  "hex": "#15196c",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 237.241,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28108,
    "c": 0.13941,
    "h": 271.1
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#15196C
secondary
#A39E3A
accent
#E23DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15196C

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

Preview Lab → · Contrast checker → · Palette generator →

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