#17186F#17186F

#17186F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.144 H 272.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#17186F
RGBrgb(23, 24, 111)
HSLhsl(239, 66%, 26%)
HSVhsv(239, 79%, 44%)
CMYKcmyk(79.3%, 78.4%, 0%, 56.5%)
CIE-LABlab(15.40, 31.78, -49.69)
CIE-LCHlch(15.40, 58.98, 302.60°)
OKLaboklab(28.42% 0.0051 -0.1438)
OKLCHoklch(28.42% 0.144 272)
XYZxyz(3.5483, 1.9827, 15.2315)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17186F #6F6E17
analogous
#17446F #17186F #42176F
triadic
#17186F #6F1718 #186F17
tetradic
#17186F #6F1744 #6F6E17 #176F42
square
#17186F #6F1744 #6F6E17 #176F42
split-complementary
#17186F #6F4217 #446F17
monochromatic
#050519 #0C0D3C #17186F #2223A2 #2D2FD3

Accessibility & contrast

On white

15.04
#17186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#17186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17186F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17186F#FFFFFF#000000##FFFFFF
##17186F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17186f;
/* rgb */ color: rgb(23, 24, 111);
/* oklch */ color: oklch(28.4% 0.144 272.0);
Tailwind
colors: {
  custom: {
    50: '#655699',
    500: '#17186f',
    950: '#000000',
  },
}
SCSS
$custom: #17186f;
$custom-light: #655699;
$custom-dark: #000000;
JSON
{
  "hex": "#17186f",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 239.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28416,
    "c": 0.14393,
    "h": 272
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#17186F
secondary
#A5A43D
accent
#E73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17186F

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

Preview Lab → · Contrast checker → · Palette generator →

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