#171975#171975

#171975 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.151 H 271.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#171975
RGBrgb(23, 25, 117)
HSLhsl(239, 67%, 27%)
HSVhsv(239, 80%, 46%)
CMYKcmyk(80.3%, 78.6%, 0%, 54.1%)
CIE-LABlab(16.31, 33.34, -52.06)
CIE-LCHlch(16.31, 61.82, 302.63°)
OKLaboklab(29.27% 0.0035 -0.1507)
OKLCHoklch(29.27% 0.151 271.3)
XYZxyz(3.9108, 2.1613, 17.0372)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171975 #757317
analogous
#174875 #171975 #441775
triadic
#171975 #751719 #197517
tetradic
#171975 #751748 #757317 #177544
square
#171975 #751748 #757317 #177544
split-complementary
#171975 #754417 #487517
monochromatic
#05051A #0D0E42 #171975 #2124A8 #3034D6

Accessibility & contrast

On white

14.66
#171975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#171975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171975
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171975#FFFFFF#000000##FFFFFF
##1719751.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171975;
/* rgb */ color: rgb(23, 25, 117);
/* oklch */ color: oklch(29.3% 0.151 271.3);
Tailwind
colors: {
  custom: {
    50: '#67579e',
    500: '#171975',
    950: '#000000',
  },
}
SCSS
$custom: #171975;
$custom-light: #67579e;
$custom-dark: #000000;
JSON
{
  "hex": "#171975",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 238.723,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29272,
    "c": 0.15078,
    "h": 271.3
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#171975
secondary
#AAA83D
accent
#E63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171975

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

Preview Lab → · Contrast checker → · Palette generator →

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