#17166E#17166E

#17166E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.145 H 272.5°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#17166E
RGBrgb(23, 22, 110)
HSLhsl(241, 67%, 26%)
HSVhsv(241, 80%, 43%)
CMYKcmyk(79.1%, 80%, 0%, 56.9%)
CIE-LABlab(14.85, 32.63, -49.94)
CIE-LCHlch(14.85, 59.65, 303.16°)
OKLaboklab(28% 0.0062 -0.1445)
OKLCHoklch(28% 0.145 272.5)
XYZxyz(3.4538, 1.8814, 14.9300)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17166E #6D6E16
analogous
#16416E #17166E #43166E
triadic
#17166E #6E1716 #166E17
tetradic
#17166E #6E1641 #6D6E16 #166E43
square
#17166E #6E1641 #6D6E16 #166E43
split-complementary
#17166E #6E4316 #416E16
monochromatic
#05051A #0C0C3B #17166E #2220A1 #2C2AD4

Accessibility & contrast

On white

15.26
#17166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#17166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17166E
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17166E#FFFFFF#000000##FFFFFF
##17166E1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17166e;
/* rgb */ color: rgb(23, 22, 110);
/* oklch */ color: oklch(28.0% 0.145 272.5);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#17166e',
    950: '#000000',
  },
}
SCSS
$custom: #17166e;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#17166e",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 240.682,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27997,
    "c": 0.14467,
    "h": 272.5
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#17166E
secondary
#A3A43C
accent
#EA3EE8
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17166E

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

Preview Lab → · Contrast checker → · Palette generator →

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