#17167C#17167C

#17167C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.163 H 271.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#17167C
RGBrgb(23, 22, 124)
HSLhsl(241, 70%, 29%)
HSVhsv(241, 82%, 49%)
CMYKcmyk(81.5%, 82.3%, 0%, 51.4%)
CIE-LABlab(16.56, 37.52, -56.15)
CIE-LCHlch(16.56, 67.53, 303.75°)
OKLaboklab(29.69% 0.0031 -0.1626)
OKLCHoklch(29.69% 0.163 271.1)
XYZxyz(4.2771, 2.2107, 19.2662)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17167C #7B7C16
analogous
#16487C #17167C #4A167C
triadic
#17167C #7C1716 #167C17
tetradic
#17167C #7C1648 #7B7C16 #167C4A
square
#17167C #7C1648 #7B7C16 #167C4A
split-complementary
#17167C #7C4A16 #487C16
monochromatic
#05051A #0D0D48 #17167C #211FB0 #3332DB

Accessibility & contrast

On white

14.56
#17167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17167C
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17167C#FFFFFF#000000##FFFFFF
##17167C1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17167c;
/* rgb */ color: rgb(23, 22, 124);
/* oklch */ color: oklch(29.7% 0.163 271.1);
Tailwind
colors: {
  custom: {
    50: '#6956a3',
    500: '#17167c',
    950: '#000000',
  },
}
SCSS
$custom: #17167c;
$custom-light: #6956a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17167c",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 240.588,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29691,
    "c": 0.16259,
    "h": 271.1
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#17167C
secondary
#B0B13D
accent
#ED3BEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17167C

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

Preview Lab → · Contrast checker → · Palette generator →

#17167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva