#171E6E#171E6E

#171E6E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.136 H 270.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#171E6E
RGBrgb(23, 30, 110)
HSLhsl(235, 65%, 26%)
HSVhsv(235, 79%, 43%)
CMYKcmyk(79.1%, 72.7%, 0%, 56.9%)
CIE-LABlab(16.68, 27.53, -46.92)
CIE-LCHlch(16.68, 54.40, 300.40°)
OKLaboklab(29.3% 0.0021 -0.1358)
OKLCHoklch(29.3% 0.136 270.9)
XYZxyz(3.6311, 2.2361, 14.9891)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E6E #6E6717
analogous
#17496E #171E6E #3B176E
triadic
#171E6E #6E171E #1E6E17
tetradic
#171E6E #6E1749 #6E6717 #176E3B
square
#171E6E #6E1749 #6E6717 #176E3B
split-complementary
#171E6E #6E3B17 #496E17
monochromatic
#050719 #0C103B #171E6E #222CA1 #2C3AD3

Accessibility & contrast

On white

14.51
#171E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#171E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E6E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E6E#FFFFFF#000000##FFFFFF
##171E6E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #171e6e;
/* rgb */ color: rgb(23, 30, 110);
/* oklch */ color: oklch(29.3% 0.136 270.9);
Tailwind
colors: {
  custom: {
    50: '#645a98',
    500: '#171e6e',
    950: '#000000',
  },
}
SCSS
$custom: #171e6e;
$custom-light: #645a98;
$custom-dark: #000000;
JSON
{
  "hex": "#171e6e",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 235.172,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29302,
    "c": 0.13582,
    "h": 270.9
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#171E6E
secondary
#A49C3D
accent
#DB3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #171E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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