#17137F#17137F

#17137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.169 H 271.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#17137F
RGBrgb(23, 19, 127)
HSLhsl(242, 74%, 29%)
HSVhsv(242, 85%, 50%)
CMYKcmyk(81.9%, 85%, 0%, 50.2%)
CIE-LABlab(16.40, 40.08, -58.32)
CIE-LCHlch(16.40, 70.76, 304.50°)
OKLaboklab(29.69% 0.0032 -0.1688)
OKLCHoklch(29.69% 0.169 271.1)
XYZxyz(4.4157, 2.1797, 20.2626)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17137F #7B7F13
analogous
#13457F #17137F #4D137F
triadic
#17137F #7F1713 #137F17
tetradic
#17137F #7F1345 #7B7F13 #137F4D
square
#17137F #7F1345 #7B7F13 #137F4D
split-complementary
#17137F #7F4D13 #457F13
monochromatic
#05041B #0D0B4A #17137F #211BB4 #332DE0

Accessibility & contrast

On white

14.62
#17137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17137F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17137F#FFFFFF#000000##FFFFFF
##17137F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17137f;
/* rgb */ color: rgb(23, 19, 127);
/* oklch */ color: oklch(29.7% 0.169 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a54a5',
    500: '#17137f',
    950: '#000000',
  },
}
SCSS
$custom: #17137f;
$custom-light: #6a54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17137f",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 242.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29694,
    "c": 0.16881,
    "h": 271.1
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#17137F
secondary
#B0B439
accent
#F137EA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #17137F

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

Preview Lab → · Contrast checker → · Palette generator →

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