#17317C#17317C

#17317C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.131 H 265.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#17317C
RGBrgb(23, 49, 124)
HSLhsl(225, 69%, 29%)
HSVhsv(225, 81%, 49%)
CMYKcmyk(81.5%, 60.5%, 0%, 51.4%)
CIE-LABlab(23.11, 19.86, -45.37)
CIE-LCHlch(23.11, 49.52, 293.64°)
OKLaboklab(34.45% -0.0107 -0.1311)
OKLCHoklch(34.45% 0.131 265.3)
XYZxyz(5.0885, 3.8334, 19.5366)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17317C #7C6217
analogous
#17647C #17317C #30177C
triadic
#17317C #7C1731 #317C17
tetradic
#17317C #7C1764 #7C6217 #177C30
square
#17317C #7C1764 #7C6217 #177C30
split-complementary
#17317C #7C3017 #647C17
monochromatic
#050A1A #0D1D48 #17317C #2145B0 #345FD9

Accessibility & contrast

On white

11.89
#17317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#17317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17317C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17317C#FFFFFF#000000##FFFFFF
##17317C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #17317c;
/* rgb */ color: rgb(23, 49, 124);
/* oklch */ color: oklch(34.5% 0.131 265.3);
Tailwind
colors: {
  custom: {
    50: '#6668a3',
    500: '#17317c',
    950: '#000000',
  },
}
SCSS
$custom: #17317c;
$custom-light: #6668a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17317c",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 224.554,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34452,
    "c": 0.13149,
    "h": 265.3
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#17317C
secondary
#B1933E
accent
#BE3CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17317C

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

Preview Lab → · Contrast checker → · Palette generator →

#17317C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva