#15186A#15186A

#15186A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.138 H 271.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#15186A
RGBrgb(21, 24, 106)
HSLhsl(238, 67%, 25%)
HSVhsv(238, 80%, 42%)
CMYKcmyk(80.2%, 77.4%, 0%, 58.4%)
CIE-LABlab(14.70, 29.75, -47.59)
CIE-LCHlch(14.70, 56.12, 302.01°)
OKLaboklab(27.71% 0.0036 -0.1378)
OKLCHoklch(27.71% 0.138 271.5)
XYZxyz(3.2365, 1.8530, 13.8200)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15186A #6A6715
analogous
#15436A #15186A #3C156A
triadic
#15186A #6A1518 #186A15
tetradic
#15186A #6A1543 #6A6715 #156A3C
square
#15186A #6A1543 #6A6715 #156A3C
split-complementary
#15186A #6A3C15 #436A15
monochromatic
#05061A #0B0C37 #15186A #1F249D #292FD0

Accessibility & contrast

On white

15.32
#15186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#15186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15186A
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15186A#FFFFFF#000000##FFFFFF
##15186A1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15186a;
/* rgb */ color: rgb(21, 24, 106);
/* oklch */ color: oklch(27.7% 0.138 271.5);
Tailwind
colors: {
  custom: {
    50: '#635696',
    500: '#15186a',
    950: '#000000',
  },
}
SCSS
$custom: #15186a;
$custom-light: #635696;
$custom-dark: #000000;
JSON
{
  "hex": "#15186a",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 237.882,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27714,
    "c": 0.13781,
    "h": 271.5
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#15186A
secondary
#A19D3A
accent
#E43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #15186A

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

Preview Lab → · Contrast checker → · Palette generator →

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