#171DFF#171DFF

#171DFF is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 46.8% C 0.302 H 265.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#171DFF
RGBrgb(23, 29, 255)
HSLhsl(238, 100%, 55%)
HSVhsv(238, 91%, 100%)
CMYKcmyk(91%, 88.6%, 0%, 0%)
CIE-LABlab(34.56, 73.60, -104.07)
CIE-LCHlch(34.56, 127.47, 305.27°)
OKLaboklab(46.84% -0.0216 -0.3011)
OKLCHoklch(46.84% 0.302 265.9)
XYZxyz(18.8365, 8.2784, 95.1934)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171DFF #FFF917
analogous
#1791FF #171DFF #8517FF
triadic
#171DFF #FF171D #1DFF17
tetradic
#171DFF #FF1791 #FFF917 #17FF85
square
#171DFF #FF1791 #FFF917 #17FF85
split-complementary
#171DFF #FF8517 #91FF17
monochromatic
#00049C #0006D9 #171DFF #5459FF #9194FF

Accessibility & contrast

On white

7.91
#171DFF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#171DFF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171DFF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171DFF#FFFFFF#000000##FFFFFF
##171DFF1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DFF
Deuteranopia (green-blind)
#0044FC
Tritanopia (blue-blind)
#006F98
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #171dff;
/* rgb */ color: rgb(23, 29, 255);
/* oklch */ color: oklch(46.8% 0.302 265.9);
Tailwind
colors: {
  custom: {
    50: '#8b65ff',
    500: '#171dff',
    950: '#000000',
  },
}
SCSS
$custom: #171dff;
$custom-light: #8b65ff;
$custom-dark: #000000;
JSON
{
  "hex": "#171dff",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 255
  },
  "hsl": {
    "h": 238.448,
    "s": 100,
    "l": 54.51
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.30185,
    "h": 265.9
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#171DFF
secondary
#EAE788
accent
#F929FF
background
#FAF6FF
surface
#F3EBFF
border
#CDC6D7
text
#0F0618
muted
#7F7A86

Preview Lab

Preview with #171DFF

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

Preview Lab → · Contrast checker → · Palette generator →

#171DFF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva