#171460#171460

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

Color values

HEX#171460
RGBrgb(23, 20, 96)
HSLhsl(242, 66%, 23%)
HSVhsv(242, 79%, 38%)
CMYKcmyk(76%, 79.2%, 0%, 62.4%)
CIE-LABlab(12.78, 28.79, -44.14)
CIE-LCHlch(12.78, 52.70, 303.11°)
OKLaboklab(26.04% 0.0102 -0.1276)
OKLCHoklch(26.04% 0.128 274.6)
XYZxyz(2.7141, 1.5267, 11.2157)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171460 #5D6014
analogous
#143760 #171460 #3D1460
triadic
#171460 #601714 #146017
tetradic
#171460 #601437 #5D6014 #14603D
square
#171460 #601437 #5D6014 #14603D
split-complementary
#171460 #603D14 #376014
monochromatic
#060519 #0B092D #171460 #231F93 #2F29C5

Accessibility & contrast

On white

16.09
#171460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171460
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171460#FFFFFF#000000##FFFFFF
##1714601.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171460;
/* rgb */ color: rgb(23, 20, 96);
/* oklch */ color: oklch(26.0% 0.128 274.6);
Tailwind
colors: {
  custom: {
    50: '#61538e',
    500: '#171460',
    950: '#000000',
  },
}
SCSS
$custom: #171460;
$custom-light: #61538e;
$custom-dark: #000000;
JSON
{
  "hex": "#171460",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 242.368,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26042,
    "c": 0.12805,
    "h": 274.6
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#171460
secondary
#949838
accent
#E83FE2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #171460

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

Preview Lab → · Contrast checker → · Palette generator →

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