#17135E#17135E

#17135E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.126 H 275.1°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#17135E
RGBrgb(23, 19, 94)
HSLhsl(243, 66%, 22%)
HSVhsv(243, 80%, 37%)
CMYKcmyk(75.5%, 79.8%, 0%, 63.1%)
CIE-LABlab(12.32, 28.68, -43.55)
CIE-LCHlch(12.32, 52.14, 303.37°)
OKLaboklab(25.65% 0.0113 -0.1259)
OKLCHoklch(25.65% 0.126 275.1)
XYZxyz(2.6059, 1.4558, 10.7312)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17135E #5A5E13
analogous
#13355E #17135E #3D135E
triadic
#17135E #5E1713 #135E17
tetradic
#17135E #5E1335 #5A5E13 #135E3D
square
#17135E #5E1335 #5A5E13 #135E3D
split-complementary
#17135E #5E3D13 #355E13
monochromatic
#060519 #0B092B #17135E #231D91 #3028C4

Accessibility & contrast

On white

16.26
#17135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#17135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17135E
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17135E#FFFFFF#000000##FFFFFF
##17135E1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17135e;
/* rgb */ color: rgb(23, 19, 94);
/* oklch */ color: oklch(25.7% 0.126 275.1);
Tailwind
colors: {
  custom: {
    50: '#61528d',
    500: '#17135e',
    950: '#000000',
  },
}
SCSS
$custom: #17135e;
$custom-light: #61528d;
$custom-dark: #000000;
JSON
{
  "hex": "#17135e",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 243.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25653,
    "c": 0.12642,
    "h": 275.1
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#17135E
secondary
#919637
accent
#E93FE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17135E

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

Preview Lab → · Contrast checker → · Palette generator →

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