#171E4E#171E4E

#171E4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.088 H 272.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#171E4E
RGBrgb(23, 30, 78)
HSLhsl(232, 54%, 20%)
HSVhsv(232, 71%, 31%)
CMYKcmyk(70.5%, 61.5%, 0%, 69.4%)
CIE-LABlab(13.59, 14.77, -30.63)
CIE-LCHlch(13.59, 34.01, 295.73°)
OKLaboklab(26.09% 0.0038 -0.0881)
OKLCHoklch(26.09% 0.088 272.5)
XYZxyz(2.1923, 1.6606, 7.4112)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E4E #4E4717
analogous
#17394E #171E4E #2C174E
triadic
#171E4E #4E171E #1E4E17
tetradic
#171E4E #4E1739 #4E4717 #174E2C
square
#171E4E #4E1739 #4E4717 #174E2C
split-complementary
#171E4E #4E2C17 #394E17
monochromatic
#070918 #090C1F #171E4E #25307D #3342AD

Accessibility & contrast

On white

15.76
#171E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#171E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E4E
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E4E#FFFFFF#000000##FFFFFF
##171E4E1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171e4e;
/* rgb */ color: rgb(23, 30, 78);
/* oklch */ color: oklch(26.1% 0.088 272.5);
Tailwind
colors: {
  custom: {
    50: '#5b5980',
    500: '#171e4e',
    950: '#000000',
  },
}
SCSS
$custom: #171e4e;
$custom-light: #5b5980;
$custom-dark: #000000;
JSON
{
  "hex": "#171e4e",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 232.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26085,
    "c": 0.08814,
    "h": 272.5
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#171E4E
secondary
#857C3C
accent
#CB4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #171E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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