#171361#171361

#171361 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.130 H 274.7°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#171361
RGBrgb(23, 19, 97)
HSLhsl(243, 67%, 23%)
HSVhsv(243, 80%, 38%)
CMYKcmyk(76.3%, 80.4%, 0%, 62%)
CIE-LABlab(12.68, 29.77, -44.97)
CIE-LCHlch(12.68, 53.93, 303.50°)
OKLaboklab(26.01% 0.0106 -0.1301)
OKLCHoklch(26.01% 0.13 274.7)
XYZxyz(2.7432, 1.5107, 11.4540)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171361 #5D6113
analogous
#133661 #171361 #3E1361
triadic
#171361 #611713 #136117
tetradic
#171361 #611336 #5D6113 #13613E
square
#171361 #611336 #5D6113 #13613E
split-complementary
#171361 #613E13 #366113
monochromatic
#06051A #0B092E #171361 #231D94 #2F27C7

Accessibility & contrast

On white

16.13
#171361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#171361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171361
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171361#FFFFFF#000000##FFFFFF
##1713611.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171361;
/* rgb */ color: rgb(23, 19, 97);
/* oklch */ color: oklch(26.0% 0.130 274.7);
Tailwind
colors: {
  custom: {
    50: '#62528f',
    500: '#171361',
    950: '#000000',
  },
}
SCSS
$custom: #171361;
$custom-light: #62528f;
$custom-dark: #000000;
JSON
{
  "hex": "#171361",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 243.077,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26006,
    "c": 0.13049,
    "h": 274.7
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#171361
secondary
#949937
accent
#EA3EE1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #171361

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

Preview Lab → · Contrast checker → · Palette generator →

#171361 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva