#17317E#17317E

#17317E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.134 H 265.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#17317E
RGBrgb(23, 49, 126)
HSLhsl(225, 69%, 29%)
HSVhsv(225, 82%, 49%)
CMYKcmyk(81.7%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.29, 20.67, -46.35)
CIE-LCHlch(23.29, 50.75, 294.04°)
OKLaboklab(34.64% -0.0106 -0.1339)
OKLCHoklch(34.64% 0.134 265.5)
XYZxyz(5.2162, 3.8845, 20.2095)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17317E #7E6417
analogous
#17657E #17317E #30177E
triadic
#17317E #7E1731 #317E17
tetradic
#17317E #7E1765 #7E6417 #177E30
square
#17317E #7E1765 #7E6417 #177E30
split-complementary
#17317E #7E3017 #657E17
monochromatic
#050A1A #0E1D4A #17317E #2045B2 #355FDA

Accessibility & contrast

On white

11.82
#17317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#17317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17317E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17317E#FFFFFF#000000##FFFFFF
##17317E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #17317e;
/* rgb */ color: rgb(23, 49, 126);
/* oklch */ color: oklch(34.6% 0.134 265.5);
Tailwind
colors: {
  custom: {
    50: '#6768a4',
    500: '#17317e',
    950: '#000000',
  },
}
SCSS
$custom: #17317e;
$custom-light: #6768a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17317e",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 224.854,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34636,
    "c": 0.13436,
    "h": 265.5
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#17317E
secondary
#B3953E
accent
#BF3CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17317E

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

Preview Lab → · Contrast checker → · Palette generator →

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