#171860#171860

#171860 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.123 H 273.6°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#171860
RGBrgb(23, 24, 96)
HSLhsl(239, 61%, 23%)
HSVhsv(239, 76%, 38%)
CMYKcmyk(76%, 75%, 0%, 62.4%)
CIE-LABlab(13.71, 26.20, -42.60)
CIE-LCHlch(13.71, 50.01, 301.59°)
OKLaboklab(26.71% 0.0078 -0.1232)
OKLCHoklch(26.71% 0.123 273.6)
XYZxyz(2.7906, 1.6797, 11.2412)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171860 #605F17
analogous
#173C60 #171860 #3A1760
triadic
#171860 #601718 #186017
tetradic
#171860 #60173C #605F17 #17603A
square
#171860 #60173C #605F17 #17603A
split-complementary
#171860 #603A17 #3C6017
monochromatic
#060619 #0B0C2F #171860 #232491 #2F31C3

Accessibility & contrast

On white

15.72
#171860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#171860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171860
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171860#FFFFFF#000000##FFFFFF
##1718601.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171860;
/* rgb */ color: rgb(23, 24, 96);
/* oklch */ color: oklch(26.7% 0.123 273.6);
Tailwind
colors: {
  custom: {
    50: '#61558e',
    500: '#171860',
    950: '#000000',
  },
}
SCSS
$custom: #171860;
$custom-light: #61558e;
$custom-dark: #000000;
JSON
{
  "hex": "#171860",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 239.178,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26706,
    "c": 0.12344,
    "h": 273.6
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#171860
secondary
#97953C
accent
#E243E4
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #171860

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

Preview Lab → · Contrast checker → · Palette generator →

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