#17177A#17177A

#17177A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.159 H 271.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#17177A
RGBrgb(23, 23, 122)
HSLhsl(240, 68%, 28%)
HSVhsv(240, 81%, 48%)
CMYKcmyk(81.1%, 81.1%, 0%, 52.2%)
CIE-LABlab(16.50, 36.27, -54.96)
CIE-LCHlch(16.50, 65.85, 303.42°)
OKLaboklab(29.58% 0.0032 -0.1591)
OKLCHoklch(29.58% 0.159 271.2)
XYZxyz(4.1714, 2.1996, 18.6133)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17177A #7A7A17
analogous
#17487A #17177A #48177A
triadic
#17177A #7A1717 #177A17
tetradic
#17177A #7A1748 #7A7A17 #177A48
square
#17177A #7A1748 #7A7A17 #177A48
split-complementary
#17177A #7A4817 #487A17
monochromatic
#05051A #0D0D47 #17177A #2121AD #3333D9

Accessibility & contrast

On white

14.58
#17177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17177A
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17177A#FFFFFF#000000##FFFFFF
##17177A1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17177a;
/* rgb */ color: rgb(23, 23, 122);
/* oklch */ color: oklch(29.6% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#6856a2',
    500: '#17177a',
    950: '#000000',
  },
}
SCSS
$custom: #17177a;
$custom-light: #6856a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17177a",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29581,
    "c": 0.15916,
    "h": 271.2
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#17177A
secondary
#AFAF3E
accent
#EB3DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17177A

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

Preview Lab → · Contrast checker → · Palette generator →

#17177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva