#17317A#17317A

#17317A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.129 H 265.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#17317A
RGBrgb(23, 49, 122)
HSLhsl(224, 68%, 28%)
HSVhsv(224, 81%, 48%)
CMYKcmyk(81.1%, 59.8%, 0%, 52.2%)
CIE-LABlab(22.94, 19.03, -44.38)
CIE-LCHlch(22.94, 48.29, 293.21°)
OKLaboklab(34.27% -0.0108 -0.1282)
OKLCHoklch(34.27% 0.129 265.2)
XYZxyz(4.9633, 3.7834, 18.8773)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17317A #7A6017
analogous
#17627A #17317A #2E177A
triadic
#17317A #7A1731 #317A17
tetradic
#17317A #7A1762 #7A6017 #177A2E
square
#17317A #7A1762 #7A6017 #177A2E
split-complementary
#17317A #7A2E17 #627A17
monochromatic
#050A1A #0D1C47 #17317A #2146AD #335ED9

Accessibility & contrast

On white

11.95
#17317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#17317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17317A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17317A#FFFFFF#000000##FFFFFF
##17317A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #17317a;
/* rgb */ color: rgb(23, 49, 122);
/* oklch */ color: oklch(34.3% 0.129 265.2);
Tailwind
colors: {
  custom: {
    50: '#6668a1',
    500: '#17317a',
    950: '#000000',
  },
}
SCSS
$custom: #17317a;
$custom-light: #6668a1;
$custom-dark: #000000;
JSON
{
  "hex": "#17317a",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 224.242,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.12861,
    "h": 265.2
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#17317A
secondary
#AF913E
accent
#BD3DEB
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17317A

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

Preview Lab → · Contrast checker → · Palette generator →

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