#17137D#17137D

#17137D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.166 H 271.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#17137D
RGBrgb(23, 19, 125)
HSLhsl(242, 74%, 28%)
HSVhsv(242, 85%, 49%)
CMYKcmyk(81.6%, 84.8%, 0%, 51%)
CIE-LABlab(16.15, 39.42, -57.47)
CIE-LCHlch(16.15, 69.69, 304.45°)
OKLaboklab(29.44% 0.0037 -0.1663)
OKLCHoklch(29.44% 0.166 271.3)
XYZxyz(4.2866, 2.1281, 19.5829)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17137D #797D13
analogous
#13447D #17137D #4C137D
triadic
#17137D #7D1713 #137D17
tetradic
#17137D #7D1344 #797D13 #137D4C
square
#17137D #7D1344 #797D13 #137D4C
split-complementary
#17137D #7D4C13 #447D13
monochromatic
#05041B #0D0B48 #17137D #211BB2 #322CDF

Accessibility & contrast

On white

14.73
#17137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17137D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17137D#FFFFFF#000000##FFFFFF
##17137D1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17137d;
/* rgb */ color: rgb(23, 19, 125);
/* oklch */ color: oklch(29.4% 0.166 271.3);
Tailwind
colors: {
  custom: {
    50: '#6954a4',
    500: '#17137d',
    950: '#000000',
  },
}
SCSS
$custom: #17137d;
$custom-light: #6954a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17137d",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 242.264,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29442,
    "c": 0.16637,
    "h": 271.3
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#17137D
secondary
#AEB339
accent
#F038E9
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17137D

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

Preview Lab → · Contrast checker → · Palette generator →

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