#17175F#17175F

#17175F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.123 H 274.0°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#17175F
RGBrgb(23, 23, 95)
HSLhsl(240, 61%, 23%)
HSVhsv(240, 76%, 37%)
CMYKcmyk(75.8%, 75.8%, 0%, 62.7%)
CIE-LABlab(13.36, 26.49, -42.51)
CIE-LCHlch(13.36, 50.09, 301.92°)
OKLaboklab(26.42% 0.0086 -0.1229)
OKLCHoklch(26.42% 0.123 274)
XYZxyz(2.7246, 1.6209, 10.9935)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17175F #5F5F17
analogous
#173B5F #17175F #3B175F
triadic
#17175F #5F1717 #175F17
tetradic
#17175F #5F173B #5F5F17 #175F3B
square
#17175F #5F173B #5F5F17 #175F3B
split-complementary
#17175F #5F3B17 #3B5F17
monochromatic
#060619 #0B0B2E #17175F #232390 #2F2FC2

Accessibility & contrast

On white

15.86
#17175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17175F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17175F#FFFFFF#000000##FFFFFF
##17175F1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17175f;
/* rgb */ color: rgb(23, 23, 95);
/* oklch */ color: oklch(26.4% 0.123 274.0);
Tailwind
colors: {
  custom: {
    50: '#61548d',
    500: '#17175f',
    950: '#000000',
  },
}
SCSS
$custom: #17175f;
$custom-light: #61548d;
$custom-dark: #000000;
JSON
{
  "hex": "#17175f",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 240,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26422,
    "c": 0.12323,
    "h": 274
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#17175F
secondary
#96963C
accent
#E444E4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #17175F

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

Preview Lab → · Contrast checker → · Palette generator →

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