#171E6D#171E6D

#171E6D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.134 H 271.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#171E6D
RGBrgb(23, 30, 109)
HSLhsl(235, 65%, 26%)
HSVhsv(235, 79%, 43%)
CMYKcmyk(78.9%, 72.5%, 0%, 57.3%)
CIE-LABlab(16.57, 27.15, -46.45)
CIE-LCHlch(16.57, 53.80, 300.31°)
OKLaboklab(29.19% 0.0022 -0.1344)
OKLCHoklch(29.19% 0.134 271)
XYZxyz(3.5770, 2.2144, 14.7039)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E6D #6D6617
analogous
#17496D #171E6D #3B176D
triadic
#171E6D #6D171E #1E6D17
tetradic
#171E6D #6D1749 #6D6617 #176D3B
square
#171E6D #6D1749 #6D6617 #176D3B
split-complementary
#171E6D #6D3B17 #496D17
monochromatic
#050719 #0C103A #171E6D #222CA0 #2C3AD2

Accessibility & contrast

On white

14.55
#171E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#171E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E6D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E6D#FFFFFF#000000##FFFFFF
##171E6D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171e6d;
/* rgb */ color: rgb(23, 30, 109);
/* oklch */ color: oklch(29.2% 0.134 271.0);
Tailwind
colors: {
  custom: {
    50: '#645a98',
    500: '#171e6d',
    950: '#000000',
  },
}
SCSS
$custom: #171e6d;
$custom-light: #645a98;
$custom-dark: #000000;
JSON
{
  "hex": "#171e6d",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 235.116,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29194,
    "c": 0.13443,
    "h": 271
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#171E6D
secondary
#A39B3D
accent
#DA40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #171E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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