#171260#171260

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

Color values

HEX#171260
RGBrgb(23, 18, 96)
HSLhsl(244, 68%, 22%)
HSVhsv(244, 81%, 38%)
CMYKcmyk(76%, 81.3%, 0%, 62.4%)
CIE-LABlab(12.35, 30.01, -44.85)
CIE-LCHlch(12.35, 53.97, 303.79°)
OKLaboklab(25.74% 0.0114 -0.1297)
OKLCHoklch(25.74% 0.13 275)
XYZxyz(2.6803, 1.4590, 11.2044)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171260 #5B6012
analogous
#123460 #171260 #3E1260
triadic
#171260 #601712 #126017
tetradic
#171260 #601234 #5B6012 #12603E
square
#171260 #601234 #5B6012 #12603E
split-complementary
#171260 #603E12 #346012
monochromatic
#06051A #0B082C #171260 #231C94 #3025C7

Accessibility & contrast

On white

16.26
#171260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##171260#FFFFFF#000000##FFFFFF
##1712601.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)
#002462
Deuteranopia (green-blind)
#001D5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171260;
/* rgb */ color: rgb(23, 18, 96);
/* oklch */ color: oklch(25.7% 0.130 275.0);
Tailwind
colors: {
  custom: {
    50: '#62518e',
    500: '#171260',
    950: '#000000',
  },
}
SCSS
$custom: #171260;
$custom-light: #62518e;
$custom-dark: #000000;
JSON
{
  "hex": "#171260",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 243.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25737,
    "c": 0.1302,
    "h": 275
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#171260
secondary
#929836
accent
#EB3DE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #171260

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

Preview Lab → · Contrast checker → · Palette generator →

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