#171E47#171E47

#171E47 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.077 H 272.5°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#171E47
RGBrgb(23, 30, 71)
HSLhsl(231, 51%, 18%)
HSVhsv(231, 68%, 28%)
CMYKcmyk(67.6%, 57.7%, 0%, 72.2%)
CIE-LABlab(13.02, 11.91, -26.74)
CIE-LCHlch(13.02, 29.27, 294.00°)
OKLaboklab(25.47% 0.0034 -0.0766)
OKLCHoklch(25.47% 0.077 272.5)
XYZxyz(1.9546, 1.5655, 6.1592)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E47 #474017
analogous
#173647 #171E47 #281747
triadic
#171E47 #47171E #1E4717
tetradic
#171E47 #471736 #474017 #174728
square
#171E47 #471736 #474017 #174728
split-complementary
#171E47 #472817 #364717
monochromatic
#070A17 #080A19 #171E47 #263275 #3545A3

Accessibility & contrast

On white

15.99
#171E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E47
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E47#FFFFFF#000000##FFFFFF
##171E471.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072448
Deuteranopia (green-blind)
#002046
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171e47;
/* rgb */ color: rgb(23, 30, 71);
/* oklch */ color: oklch(25.5% 0.077 272.5);
Tailwind
colors: {
  custom: {
    50: '#5a597a',
    500: '#171e47',
    950: '#000000',
  },
}
SCSS
$custom: #171e47;
$custom-light: #5a597a;
$custom-dark: #000000;
JSON
{
  "hex": "#171e47",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 231.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25469,
    "c": 0.07667,
    "h": 272.5
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#171E47
secondary
#7E743C
accent
#C64DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171E47

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

Preview Lab → · Contrast checker → · Palette generator →

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