#15196F#15196F

#15196F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.143 H 270.9°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#15196F
RGBrgb(21, 25, 111)
HSLhsl(237, 68%, 26%)
HSVhsv(237, 81%, 44%)
CMYKcmyk(81.1%, 77.5%, 0%, 56.5%)
CIE-LABlab(15.50, 30.98, -49.53)
CIE-LCHlch(15.50, 58.42, 302.03°)
OKLaboklab(28.46% 0.0022 -0.1434)
OKLCHoklch(28.46% 0.143 270.9)
XYZxyz(3.5252, 2.0020, 15.2365)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15196F #6F6B15
analogous
#15466F #15196F #3E156F
triadic
#15196F #6F1519 #196F15
tetradic
#15196F #6F1546 #6F6B15 #156F3E
square
#15196F #6F1546 #6F6B15 #156F3E
split-complementary
#15196F #6F3E15 #466F15
monochromatic
#05061A #0B0D3C #15196F #1F25A2 #2830D6

Accessibility & contrast

On white

15.00
#15196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15196F
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15196F#FFFFFF#000000##FFFFFF
##15196F1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15196f;
/* rgb */ color: rgb(21, 25, 111);
/* oklch */ color: oklch(28.5% 0.143 270.9);
Tailwind
colors: {
  custom: {
    50: '#645699',
    500: '#15196f',
    950: '#000000',
  },
}
SCSS
$custom: #15196f;
$custom-light: #645699;
$custom-dark: #000000;
JSON
{
  "hex": "#15196f",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 237.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28456,
    "c": 0.14343,
    "h": 270.9
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15196F

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

Preview Lab → · Contrast checker → · Palette generator →

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