#171E6F#171E6F

#171E6F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.137 H 270.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#171E6F
RGBrgb(23, 30, 111)
HSLhsl(235, 66%, 26%)
HSVhsv(235, 79%, 44%)
CMYKcmyk(79.3%, 73%, 0%, 56.5%)
CIE-LABlab(16.79, 27.92, -47.40)
CIE-LCHlch(16.79, 55.01, 300.50°)
OKLaboklab(29.41% 0.002 -0.1372)
OKLCHoklch(29.41% 0.137 270.8)
XYZxyz(3.6859, 2.2580, 15.2774)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E6F #6F6817
analogous
#174A6F #171E6F #3C176F
triadic
#171E6F #6F171E #1E6F17
tetradic
#171E6F #6F174A #6F6817 #176F3C
square
#171E6F #6F174A #6F6817 #176F3C
split-complementary
#171E6F #6F3C17 #4A6F17
monochromatic
#050719 #0C103C #171E6F #222CA2 #2D3AD3

Accessibility & contrast

On white

14.47
#171E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171E6F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E6F#FFFFFF#000000##FFFFFF
##171E6F1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #171e6f;
/* rgb */ color: rgb(23, 30, 111);
/* oklch */ color: oklch(29.4% 0.137 270.8);
Tailwind
colors: {
  custom: {
    50: '#645a99',
    500: '#171e6f',
    950: '#000000',
  },
}
SCSS
$custom: #171e6f;
$custom-light: #645a99;
$custom-dark: #000000;
JSON
{
  "hex": "#171e6f",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 235.227,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29411,
    "c": 0.13719,
    "h": 270.8
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#171E6F
secondary
#A59D3D
accent
#DB3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #171E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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