#17167D#17167D

#17167D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.164 H 271.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#17167D
RGBrgb(23, 22, 125)
HSLhsl(241, 70%, 29%)
HSVhsv(241, 82%, 49%)
CMYKcmyk(81.6%, 82.4%, 0%, 51%)
CIE-LABlab(16.68, 37.86, -56.58)
CIE-LCHlch(16.68, 68.08, 303.78°)
OKLaboklab(29.81% 0.0029 -0.1638)
OKLCHoklch(29.81% 0.164 271)
XYZxyz(4.3407, 2.2362, 19.6009)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17167D #7C7D16
analogous
#16497D #17167D #4B167D
triadic
#17167D #7D1716 #167D17
tetradic
#17167D #7D1649 #7C7D16 #167D4B
square
#17167D #7D1649 #7C7D16 #167D4B
split-complementary
#17167D #7D4B16 #497D16
monochromatic
#05051A #0D0D49 #17167D #211FB1 #3432DB

Accessibility & contrast

On white

14.51
#17167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17167D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17167D#FFFFFF#000000##FFFFFF
##17167D1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17167d;
/* rgb */ color: rgb(23, 22, 125);
/* oklch */ color: oklch(29.8% 0.164 271.0);
Tailwind
colors: {
  custom: {
    50: '#6956a4',
    500: '#17167d',
    950: '#000000',
  },
}
SCSS
$custom: #17167d;
$custom-light: #6956a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17167d",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 240.583,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29814,
    "c": 0.16384,
    "h": 271
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17167D

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

Preview Lab → · Contrast checker → · Palette generator →

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