#15176A#15176A

#15176A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.139 H 271.7°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#15176A
RGBrgb(21, 23, 106)
HSLhsl(239, 67%, 25%)
HSVhsv(239, 80%, 42%)
CMYKcmyk(80.2%, 78.3%, 0%, 58.4%)
CIE-LABlab(14.47, 30.38, -47.96)
CIE-LCHlch(14.47, 56.77, 302.36°)
OKLaboklab(27.55% 0.004 -0.1388)
OKLCHoklch(27.55% 0.139 271.7)
XYZxyz(3.2163, 1.8125, 13.8132)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15176A #6A6815
analogous
#15426A #15176A #3D156A
triadic
#15176A #6A1517 #176A15
tetradic
#15176A #6A1542 #6A6815 #156A3D
square
#15176A #6A1542 #6A6815 #156A3D
split-complementary
#15176A #6A3D15 #426A15
monochromatic
#05061A #0B0C37 #15176A #1F229D #292DD0

Accessibility & contrast

On white

15.41
#15176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#15176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15176A
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15176A#FFFFFF#000000##FFFFFF
##15176A1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15176a;
/* rgb */ color: rgb(21, 23, 106);
/* oklch */ color: oklch(27.6% 0.139 271.7);
Tailwind
colors: {
  custom: {
    50: '#635596',
    500: '#15176a',
    950: '#000000',
  },
}
SCSS
$custom: #15176a;
$custom-light: #635596;
$custom-dark: #000000;
JSON
{
  "hex": "#15176a",
  "rgb": {
    "r": 21,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 238.588,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27554,
    "c": 0.1389,
    "h": 271.7
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#15176A
secondary
#A19E3A
accent
#E63EEA
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #15176A

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

Preview Lab → · Contrast checker → · Palette generator →

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