#17186E#17186E

#17186E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.143 H 272.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#17186E
RGBrgb(23, 24, 110)
HSLhsl(239, 65%, 26%)
HSVhsv(239, 79%, 43%)
CMYKcmyk(79.1%, 78.2%, 0%, 56.9%)
CIE-LABlab(15.28, 31.41, -49.23)
CIE-LCHlch(15.28, 58.40, 302.54°)
OKLaboklab(28.3% 0.0053 -0.1425)
OKLCHoklch(28.3% 0.143 272.1)
XYZxyz(3.4935, 1.9608, 14.9432)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17186E #6E6D17
analogous
#17436E #17186E #41176E
triadic
#17186E #6E1718 #186E17
tetradic
#17186E #6E1743 #6E6D17 #176E41
square
#17186E #6E1743 #6E6D17 #176E41
split-complementary
#17186E #6E4117 #436E17
monochromatic
#050619 #0C0D3B #17186E #2223A1 #2C2ED3

Accessibility & contrast

On white

15.08
#17186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17186E
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17186E#FFFFFF#000000##FFFFFF
##17186E1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17186e;
/* rgb */ color: rgb(23, 24, 110);
/* oklch */ color: oklch(28.3% 0.143 272.1);
Tailwind
colors: {
  custom: {
    50: '#655699',
    500: '#17186e',
    950: '#000000',
  },
}
SCSS
$custom: #17186e;
$custom-light: #655699;
$custom-dark: #000000;
JSON
{
  "hex": "#17186e",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 239.31,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.283,
    "c": 0.1426,
    "h": 272.1
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#17186E
secondary
#A4A33D
accent
#E63FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17186E

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

Preview Lab → · Contrast checker → · Palette generator →

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