#17186A#17186A

#17186A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.137 H 272.5°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#17186A
RGBrgb(23, 24, 106)
HSLhsl(239, 64%, 25%)
HSVhsv(239, 78%, 42%)
CMYKcmyk(78.3%, 77.4%, 0%, 58.4%)
CIE-LABlab(14.82, 29.95, -47.38)
CIE-LCHlch(14.82, 56.05, 302.30°)
OKLaboklab(27.84% 0.006 -0.1371)
OKLCHoklch(27.84% 0.137 272.5)
XYZxyz(3.2806, 1.8757, 13.8220)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17186A #6A6917
analogous
#17416A #17186A #3F176A
triadic
#17186A #6A1718 #186A17
tetradic
#17186A #6A1741 #6A6917 #176A3F
square
#17186A #6A1741 #6A6917 #176A3F
split-complementary
#17186A #6A3F17 #416A17
monochromatic
#050619 #0C0D38 #17186A #22239C #2D2FCF

Accessibility & contrast

On white

15.27
#17186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#17186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17186A
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17186A#FFFFFF#000000##FFFFFF
##17186A1.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)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17186a;
/* rgb */ color: rgb(23, 24, 106);
/* oklch */ color: oklch(27.8% 0.137 272.5);
Tailwind
colors: {
  custom: {
    50: '#645696',
    500: '#17186a',
    950: '#000000',
  },
}
SCSS
$custom: #17186a;
$custom-light: #645696;
$custom-dark: #000000;
JSON
{
  "hex": "#17186a",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 239.277,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27836,
    "c": 0.13723,
    "h": 272.5
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#17186A
secondary
#A09F3D
accent
#E540E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #17186A

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

Preview Lab → · Contrast checker → · Palette generator →

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