#17317B#17317B

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

Color values

HEX#17317B
RGBrgb(23, 49, 123)
HSLhsl(224, 68%, 29%)
HSVhsv(224, 81%, 48%)
CMYKcmyk(81.3%, 60.2%, 0%, 51.8%)
CIE-LABlab(23.03, 19.45, -44.87)
CIE-LCHlch(23.03, 48.91, 293.43°)
OKLaboklab(34.36% -0.0107 -0.1296)
OKLCHoklch(34.36% 0.13 265.3)
XYZxyz(5.0256, 3.8083, 19.2053)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17317B #7B6117
analogous
#17637B #17317B #2F177B
triadic
#17317B #7B1731 #317B17
tetradic
#17317B #7B1763 #7B6117 #177B2F
square
#17317B #7B1763 #7B6117 #177B2F
split-complementary
#17317B #7B2F17 #637B17
monochromatic
#050A1A #0D1C47 #17317B #2146AF #335ED9

Accessibility & contrast

On white

11.92
#17317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17317B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17317B#FFFFFF#000000##FFFFFF
##17317B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #17317b;
/* rgb */ color: rgb(23, 49, 123);
/* oklch */ color: oklch(34.4% 0.130 265.3);
Tailwind
colors: {
  custom: {
    50: '#6668a2',
    500: '#17317b',
    950: '#000000',
  },
}
SCSS
$custom: #17317b;
$custom-light: #6668a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17317b",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 224.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34361,
    "c": 0.13005,
    "h": 265.3
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#17317B
secondary
#B0923E
accent
#BE3CEB
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17317B

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

Preview Lab → · Contrast checker → · Palette generator →

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