#17186D#17186D

#17186D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.141 H 272.2°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#17186D
RGBrgb(23, 24, 109)
HSLhsl(239, 65%, 26%)
HSVhsv(239, 79%, 43%)
CMYKcmyk(78.9%, 78%, 0%, 57.3%)
CIE-LABlab(15.16, 31.05, -48.77)
CIE-LCHlch(15.16, 57.82, 302.48°)
OKLaboklab(28.18% 0.0055 -0.1412)
OKLCHoklch(28.18% 0.141 272.2)
XYZxyz(3.4394, 1.9392, 14.6581)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17186D #6D6C17
analogous
#17436D #17186D #41176D
triadic
#17186D #6D1718 #186D17
tetradic
#17186D #6D1743 #6D6C17 #176D41
square
#17186D #6D1743 #6D6C17 #176D41
split-complementary
#17186D #6D4117 #436D17
monochromatic
#050619 #0C0D3A #17186D #2223A0 #2C2ED2

Accessibility & contrast

On white

15.13
#17186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#17186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17186D
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17186D#FFFFFF#000000##FFFFFF
##17186D1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17186d;
/* rgb */ color: rgb(23, 24, 109);
/* oklch */ color: oklch(28.2% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#645698',
    500: '#17186d',
    950: '#000000',
  },
}
SCSS
$custom: #17186d;
$custom-light: #645698;
$custom-dark: #000000;
JSON
{
  "hex": "#17186d",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 239.302,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28183,
    "c": 0.14127,
    "h": 272.2
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#17186D
secondary
#A3A23D
accent
#E640E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17186D

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

Preview Lab → · Contrast checker → · Palette generator →

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