#17177E#17177E

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

Color values

HEX#17177E
RGBrgb(23, 23, 126)
HSLhsl(240, 69%, 29%)
HSVhsv(240, 82%, 49%)
CMYKcmyk(81.7%, 81.7%, 0%, 50.6%)
CIE-LABlab(16.99, 37.65, -56.70)
CIE-LCHlch(16.99, 68.07, 303.59°)
OKLaboklab(30.07% 0.0024 -0.1642)
OKLCHoklch(30.07% 0.164 270.8)
XYZxyz(4.4244, 2.3008, 19.9455)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17177E #7E7E17
analogous
#174B7E #17177E #4B177E
triadic
#17177E #7E1717 #177E17
tetradic
#17177E #7E174B #7E7E17 #177E4B
square
#17177E #7E174B #7E7E17 #177E4B
split-complementary
#17177E #7E4B17 #4B7E17
monochromatic
#05051A #0E0E4A #17177E #2020B2 #3535DA

Accessibility & contrast

On white

14.38
#17177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17177E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17177E#FFFFFF#000000##FFFFFF
##17177E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17177e;
/* rgb */ color: rgb(23, 23, 126);
/* oklch */ color: oklch(30.1% 0.164 270.8);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#17177e',
    950: '#000000',
  },
}
SCSS
$custom: #17177e;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17177e",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30068,
    "c": 0.16419,
    "h": 270.8
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17177E

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

Preview Lab → · Contrast checker → · Palette generator →

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