#17175E#17175E

#17175E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.122 H 274.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#17175E
RGBrgb(23, 23, 94)
HSLhsl(240, 61%, 23%)
HSVhsv(240, 76%, 37%)
CMYKcmyk(75.5%, 75.5%, 0%, 63.1%)
CIE-LABlab(13.25, 26.11, -42.03)
CIE-LCHlch(13.25, 49.48, 301.85°)
OKLaboklab(26.31% 0.0088 -0.1215)
OKLCHoklch(26.31% 0.122 274.1)
XYZxyz(2.6795, 1.6028, 10.7557)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17175E #5E5E17
analogous
#173A5E #17175E #3A175E
triadic
#17175E #5E1717 #175E17
tetradic
#17175E #5E173A #5E5E17 #175E3A
square
#17175E #5E173A #5E5E17 #175E3A
split-complementary
#17175E #5E3A17 #3A5E17
monochromatic
#060619 #0B0B2D #17175E #23238F #2F2FC0

Accessibility & contrast

On white

15.90
#17175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#17175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17175E
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17175E#FFFFFF#000000##FFFFFF
##17175E1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17175e;
/* rgb */ color: rgb(23, 23, 94);
/* oklch */ color: oklch(26.3% 0.122 274.1);
Tailwind
colors: {
  custom: {
    50: '#60548c',
    500: '#17175e',
    950: '#000000',
  },
}
SCSS
$custom: #17175e;
$custom-light: #60548c;
$custom-dark: #000000;
JSON
{
  "hex": "#17175e",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 240,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2631,
    "c": 0.12182,
    "h": 274.1
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#17175E
secondary
#95953C
accent
#E444E4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17175E

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

Preview Lab → · Contrast checker → · Palette generator →

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