#171362#171362

#171362 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.132 H 274.5°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#171362
RGBrgb(23, 19, 98)
HSLhsl(243, 68%, 23%)
HSVhsv(243, 81%, 38%)
CMYKcmyk(76.5%, 80.6%, 0%, 61.6%)
CIE-LABlab(12.79, 30.13, -45.44)
CIE-LCHlch(12.79, 54.52, 303.54°)
OKLaboklab(26.12% 0.0103 -0.1314)
OKLCHoklch(26.12% 0.132 274.5)
XYZxyz(2.7901, 1.5295, 11.7011)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171362 #5E6213
analogous
#133662 #171362 #3E1362
triadic
#171362 #621713 #136217
tetradic
#171362 #621336 #5E6213 #13623E
square
#171362 #621336 #5E6213 #13623E
split-complementary
#171362 #623E13 #366213
monochromatic
#06051A #0B092F #171362 #231D95 #2F27C9

Accessibility & contrast

On white

16.08
#171362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171362
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171362#FFFFFF#000000##FFFFFF
##1713621.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001D61
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171362;
/* rgb */ color: rgb(23, 19, 98);
/* oklch */ color: oklch(26.1% 0.132 274.5);
Tailwind
colors: {
  custom: {
    50: '#625290',
    500: '#171362',
    950: '#000000',
  },
}
SCSS
$custom: #171362;
$custom-light: #625290;
$custom-dark: #000000;
JSON
{
  "hex": "#171362",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 243.038,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26124,
    "c": 0.13184,
    "h": 274.5
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#171362
secondary
#959A37
accent
#EA3DE2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #171362

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

Preview Lab → · Contrast checker → · Palette generator →

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