#17167F#17167F

#17167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.166 H 270.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#17167F
RGBrgb(23, 22, 127)
HSLhsl(241, 70%, 29%)
HSVhsv(241, 83%, 50%)
CMYKcmyk(81.9%, 82.7%, 0%, 50.2%)
CIE-LABlab(16.93, 38.53, -57.44)
CIE-LCHlch(16.93, 69.17, 303.85°)
OKLaboklab(30.06% 0.0024 -0.1663)
OKLCHoklch(30.06% 0.166 270.8)
XYZxyz(4.4697, 2.2878, 20.2806)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17167F #7E7F16
analogous
#164A7F #17167F #4C167F
triadic
#17167F #7F1716 #167F17
tetradic
#17167F #7F164A #7E7F16 #167F4C
square
#17167F #7F164A #7E7F16 #167F4C
split-complementary
#17167F #7F4C16 #4A7F16
monochromatic
#05051A #0E0D4B #17167F #201FB3 #3534DC

Accessibility & contrast

On white

14.41
#17167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17167F
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17167F#FFFFFF#000000##FFFFFF
##17167F1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17167f;
/* rgb */ color: rgb(23, 22, 127);
/* oklch */ color: oklch(30.1% 0.166 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a56a5',
    500: '#17167f',
    950: '#000000',
  },
}
SCSS
$custom: #17167f;
$custom-light: #6a56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17167f",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 240.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3006,
    "c": 0.16632,
    "h": 270.8
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#17167F
secondary
#B3B43D
accent
#ED3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17167F

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

Preview Lab → · Contrast checker → · Palette generator →

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