#15176D#15176D

#15176D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.143 H 271.4°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#15176D
RGBrgb(21, 23, 109)
HSLhsl(239, 68%, 25%)
HSVhsv(239, 81%, 43%)
CMYKcmyk(80.7%, 78.9%, 0%, 57.3%)
CIE-LABlab(14.82, 31.49, -49.34)
CIE-LCHlch(14.82, 58.53, 302.54°)
OKLaboklab(27.91% 0.0035 -0.1428)
OKLCHoklch(27.91% 0.143 271.4)
XYZxyz(3.3750, 1.8760, 14.6493)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15176D #6D6B15
analogous
#15436D #15176D #3F156D
triadic
#15176D #6D1517 #176D15
tetradic
#15176D #6D1543 #6D6B15 #156D3F
square
#15176D #6D1543 #6D6B15 #156D3F
split-complementary
#15176D #6D3F15 #436D15
monochromatic
#05051A #0B0C3A #15176D #1F22A0 #292DD4

Accessibility & contrast

On white

15.27
#15176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#15176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15176D
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15176D#FFFFFF#000000##FFFFFF
##15176D1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15176d;
/* rgb */ color: rgb(21, 23, 109);
/* oklch */ color: oklch(27.9% 0.143 271.4);
Tailwind
colors: {
  custom: {
    50: '#645598',
    500: '#15176d',
    950: '#000000',
  },
}
SCSS
$custom: #15176d;
$custom-light: #645598;
$custom-dark: #000000;
JSON
{
  "hex": "#15176d",
  "rgb": {
    "r": 21,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 238.636,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.14289,
    "h": 271.4
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#15176D
secondary
#A3A13A
accent
#E73DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15176D

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

Preview Lab → · Contrast checker → · Palette generator →

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