#17167E#17167E

#17167E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.165 H 270.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#17167E
RGBrgb(23, 22, 126)
HSLhsl(241, 70%, 29%)
HSVhsv(241, 83%, 49%)
CMYKcmyk(81.7%, 82.5%, 0%, 50.6%)
CIE-LABlab(16.81, 38.20, -57.01)
CIE-LCHlch(16.81, 68.63, 303.82°)
OKLaboklab(29.94% 0.0027 -0.1651)
OKLCHoklch(29.94% 0.165 270.9)
XYZxyz(4.4049, 2.2618, 19.9390)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17167E #7D7E16
analogous
#16497E #17167E #4B167E
triadic
#17167E #7E1716 #167E17
tetradic
#17167E #7E1649 #7D7E16 #167E4B
square
#17167E #7E1649 #7D7E16 #167E4B
split-complementary
#17167E #7E4B16 #497E16
monochromatic
#05051A #0D0D4A #17167E #211FB2 #3533DB

Accessibility & contrast

On white

14.46
#17167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#17167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17167E
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17167E#FFFFFF#000000##FFFFFF
##17167E1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17167e;
/* rgb */ color: rgb(23, 22, 126);
/* oklch */ color: oklch(29.9% 0.165 270.9);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#17167e',
    950: '#000000',
  },
}
SCSS
$custom: #17167e;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17167e",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 240.577,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.16508,
    "h": 270.9
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#17167E
secondary
#B2B33D
accent
#ED3BEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17167E

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

Preview Lab → · Contrast checker → · Palette generator →

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