#17137C#17137C

#17137C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.165 H 271.4°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#17137C
RGBrgb(23, 19, 124)
HSLhsl(242, 73%, 28%)
HSVhsv(242, 85%, 49%)
CMYKcmyk(81.5%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.02, 39.09, -57.04)
CIE-LCHlch(16.02, 69.15, 304.42°)
OKLaboklab(29.32% 0.004 -0.1651)
OKLCHoklch(29.32% 0.165 271.4)
XYZxyz(4.2231, 2.1027, 19.2482)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17137C #787C13
analogous
#13437C #17137C #4B137C
triadic
#17137C #7C1713 #137C17
tetradic
#17137C #7C1343 #787C13 #137C4B
square
#17137C #7C1343 #787C13 #137C4B
split-complementary
#17137C #7C4B13 #437C13
monochromatic
#05041B #0D0B47 #17137C #211BB1 #322BDF

Accessibility & contrast

On white

14.78
#17137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#17137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17137C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17137C#FFFFFF#000000##FFFFFF
##17137C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00227A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17137c;
/* rgb */ color: rgb(23, 19, 124);
/* oklch */ color: oklch(29.3% 0.165 271.4);
Tailwind
colors: {
  custom: {
    50: '#6954a3',
    500: '#17137c',
    950: '#000000',
  },
}
SCSS
$custom: #17137c;
$custom-light: #6954a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17137c",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 242.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29316,
    "c": 0.16514,
    "h": 271.4
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17137C

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

Preview Lab → · Contrast checker → · Palette generator →

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