#15176F#15176F

#15176F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.146 H 271.2°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#15176F
RGBrgb(21, 23, 111)
HSLhsl(239, 68%, 26%)
HSVhsv(239, 81%, 44%)
CMYKcmyk(81.1%, 79.3%, 0%, 56.5%)
CIE-LABlab(15.06, 32.22, -50.25)
CIE-LCHlch(15.06, 59.69, 302.66°)
OKLaboklab(28.14% 0.0031 -0.1455)
OKLCHoklch(28.14% 0.146 271.2)
XYZxyz(3.4839, 1.9195, 15.2227)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15176F #6F6D15
analogous
#15446F #15176F #40156F
triadic
#15176F #6F1517 #176F15
tetradic
#15176F #6F1544 #6F6D15 #156F40
square
#15176F #6F1544 #6F6D15 #156F40
split-complementary
#15176F #6F4015 #446F15
monochromatic
#05051A #0B0C3C #15176F #1F22A2 #282CD6

Accessibility & contrast

On white

15.17
#15176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15176F
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15176F#FFFFFF#000000##FFFFFF
##15176F1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #15176f;
/* rgb */ color: rgb(21, 23, 111);
/* oklch */ color: oklch(28.1% 0.146 271.2);
Tailwind
colors: {
  custom: {
    50: '#645599',
    500: '#15176f',
    950: '#000000',
  },
}
SCSS
$custom: #15176f;
$custom-light: #645599;
$custom-dark: #000000;
JSON
{
  "hex": "#15176f",
  "rgb": {
    "r": 21,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 238.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28145,
    "c": 0.14553,
    "h": 271.2
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15176F

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

Preview Lab → · Contrast checker → · Palette generator →

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