#171E76#171E76

#171E76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.147 H 270.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#171E76
RGBrgb(23, 30, 118)
HSLhsl(236, 67%, 28%)
HSVhsv(236, 81%, 46%)
CMYKcmyk(80.5%, 74.6%, 0%, 53.7%)
CIE-LABlab(17.55, 30.57, -50.67)
CIE-LCHlch(17.55, 59.18, 301.10°)
OKLaboklab(30.18% 0.0011 -0.1467)
OKLCHoklch(30.18% 0.147 270.4)
XYZxyz(4.0865, 2.4183, 17.3874)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E76 #766F17
analogous
#174D76 #171E76 #3F1776
triadic
#171E76 #76171E #1E7617
tetradic
#171E76 #76174D #766F17 #17763F
square
#171E76 #76174D #766F17 #17763F
split-complementary
#171E76 #763F17 #4D7617
monochromatic
#05071A #0D1143 #171E76 #212BA9 #313DD7

Accessibility & contrast

On white

14.15
#171E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#171E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E76
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E76#FFFFFF#000000##FFFFFF
##171E761.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #171e76;
/* rgb */ color: rgb(23, 30, 118);
/* oklch */ color: oklch(30.2% 0.147 270.4);
Tailwind
colors: {
  custom: {
    50: '#665a9e',
    500: '#171e76',
    950: '#000000',
  },
}
SCSS
$custom: #171e76;
$custom-light: #665a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#171e76",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 235.579,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30184,
    "c": 0.14672,
    "h": 270.4
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#171E76
secondary
#ABA33E
accent
#DE3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #171E76

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

Preview Lab → · Contrast checker → · Palette generator →

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