#17177D#17177D

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

Color values

HEX#17177D
RGBrgb(23, 23, 125)
HSLhsl(240, 69%, 29%)
HSVhsv(240, 82%, 49%)
CMYKcmyk(81.6%, 81.6%, 0%, 51%)
CIE-LABlab(16.87, 37.31, -56.27)
CIE-LCHlch(16.87, 67.52, 303.55°)
OKLaboklab(29.95% 0.0026 -0.1629)
OKLCHoklch(29.95% 0.163 270.9)
XYZxyz(4.3602, 2.2751, 19.6074)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17177D #7D7D17
analogous
#174A7D #17177D #4A177D
triadic
#17177D #7D1717 #177D17
tetradic
#17177D #7D174A #7D7D17 #177D4A
square
#17177D #7D174A #7D7D17 #177D4A
split-complementary
#17177D #7D4A17 #4A7D17
monochromatic
#05051A #0D0D49 #17177D #2121B1 #3535DA

Accessibility & contrast

On white

14.43
#17177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17177D
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17177D#FFFFFF#000000##FFFFFF
##17177D1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17177d;
/* rgb */ color: rgb(23, 23, 125);
/* oklch */ color: oklch(29.9% 0.163 270.9);
Tailwind
colors: {
  custom: {
    50: '#6956a4',
    500: '#17177d',
    950: '#000000',
  },
}
SCSS
$custom: #17177d;
$custom-light: #6956a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17177d",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.29946,
    "c": 0.16294,
    "h": 270.9
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#17177D
secondary
#B2B23E
accent
#EC3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17177D

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

Preview Lab → · Contrast checker → · Palette generator →

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