#17177F#17177F

#17177F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.165 H 270.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#17177F
RGBrgb(23, 23, 127)
HSLhsl(240, 69%, 29%)
HSVhsv(240, 82%, 50%)
CMYKcmyk(81.9%, 81.9%, 0%, 50.2%)
CIE-LABlab(17.12, 38.00, -57.13)
CIE-LCHlch(17.12, 68.61, 303.62°)
OKLaboklab(30.19% 0.0022 -0.1654)
OKLCHoklch(30.19% 0.165 270.7)
XYZxyz(4.4892, 2.3267, 20.2871)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17177F #7F7F17
analogous
#174B7F #17177F #4B177F
triadic
#17177F #7F1717 #177F17
tetradic
#17177F #7F174B #7F7F17 #177F4B
square
#17177F #7F174B #7F7F17 #177F4B
split-complementary
#17177F #7F4B17 #4B7F17
monochromatic
#05051A #0E0E4B #17177F #2020B3 #3636DB

Accessibility & contrast

On white

14.33
#17177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17177F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17177F#FFFFFF#000000##FFFFFF
##17177F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17177f;
/* rgb */ color: rgb(23, 23, 127);
/* oklch */ color: oklch(30.2% 0.165 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a56a5',
    500: '#17177f',
    950: '#000000',
  },
}
SCSS
$custom: #17177f;
$custom-light: #6a56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17177f",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 240,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3019,
    "c": 0.16543,
    "h": 270.7
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17177F

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

Preview Lab → · Contrast checker → · Palette generator →

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