#17137E#17137E

#17137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.168 H 271.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#17137E
RGBrgb(23, 19, 126)
HSLhsl(242, 74%, 28%)
HSVhsv(242, 85%, 49%)
CMYKcmyk(81.7%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.27, 39.75, -57.89)
CIE-LCHlch(16.27, 70.22, 304.47°)
OKLaboklab(29.57% 0.0035 -0.1675)
OKLCHoklch(29.57% 0.168 271.2)
XYZxyz(4.3508, 2.1538, 19.9210)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17137E #7A7E13
analogous
#13447E #17137E #4C137E
triadic
#17137E #7E1713 #137E17
tetradic
#17137E #7E1344 #7A7E13 #137E4C
square
#17137E #7E1344 #7A7E13 #137E4C
split-complementary
#17137E #7E4C13 #447E13
monochromatic
#05041B #0D0B49 #17137E #211BB3 #332CDF

Accessibility & contrast

On white

14.68
#17137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#17137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17137E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17137E#FFFFFF#000000##FFFFFF
##17137E1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17137e;
/* rgb */ color: rgb(23, 19, 126);
/* oklch */ color: oklch(29.6% 0.168 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a54a5',
    500: '#17137e',
    950: '#000000',
  },
}
SCSS
$custom: #17137e;
$custom-light: #6a54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17137e",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 242.243,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29568,
    "c": 0.16759,
    "h": 271.2
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#17137E
secondary
#AFB439
accent
#F037EA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17137E

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

Preview Lab → · Contrast checker → · Palette generator →

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