#17177B#17177B

#17177B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.160 H 271.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#17177B
RGBrgb(23, 23, 123)
HSLhsl(240, 68%, 29%)
HSVhsv(240, 81%, 48%)
CMYKcmyk(81.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(16.62, 36.62, -55.40)
CIE-LCHlch(16.62, 66.41, 303.47°)
OKLaboklab(29.7% 0.003 -0.1604)
OKLCHoklch(29.7% 0.16 271.1)
XYZxyz(4.2337, 2.2245, 18.9413)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17177B #7B7B17
analogous
#17497B #17177B #49177B
triadic
#17177B #7B1717 #177B17
tetradic
#17177B #7B1749 #7B7B17 #177B49
square
#17177B #7B1749 #7B7B17 #177B49
split-complementary
#17177B #7B4917 #497B17
monochromatic
#05051A #0D0D47 #17177B #2121AF #3333D9

Accessibility & contrast

On white

14.53
#17177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#17177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17177B
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17177B#FFFFFF#000000##FFFFFF
##17177B1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17177b;
/* rgb */ color: rgb(23, 23, 123);
/* oklch */ color: oklch(29.7% 0.160 271.1);
Tailwind
colors: {
  custom: {
    50: '#6856a2',
    500: '#17177b',
    950: '#000000',
  },
}
SCSS
$custom: #17177b;
$custom-light: #6856a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17177b",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29702,
    "c": 0.16042,
    "h": 271.1
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#17177B
secondary
#B0B03E
accent
#EB3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17177B

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

Preview Lab → · Contrast checker → · Palette generator →

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