#170E5F#170E5F

#170E5F is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.133 H 275.9°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#170E5F
RGBrgb(23, 14, 95)
HSLhsl(247, 74%, 21%)
HSVhsv(247, 85%, 37%)
CMYKcmyk(75.8%, 85.3%, 0%, 62.7%)
CIE-LABlab(11.43, 31.94, -45.70)
CIE-LCHlch(11.43, 55.75, 304.96°)
OKLaboklab(25.06% 0.0136 -0.1321)
OKLCHoklch(25.06% 0.133 275.9)
XYZxyz(2.5753, 1.3222, 10.9437)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E5F #565F0E
analogous
#0E2E5F #170E5F #400E5F
triadic
#170E5F #5F170E #0E5F17
tetradic
#170E5F #5F0E2E #565F0E #0E5F40
square
#170E5F #5F0E2E #565F0E #0E5F40
split-complementary
#170E5F #5F400E #2E5F0E
monochromatic
#06041B #0A062A #170E5F #241694 #311ECA

Accessibility & contrast

On white

16.61
#170E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#170E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E5F
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E5F#FFFFFF#000000##FFFFFF
##170E5F1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001B5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #170e5f;
/* rgb */ color: rgb(23, 14, 95);
/* oklch */ color: oklch(25.1% 0.133 275.9);
Tailwind
colors: {
  custom: {
    50: '#624f8d',
    500: '#170e5f',
    950: '#000000',
  },
}
SCSS
$custom: #170e5f;
$custom-light: #624f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#170e5f",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 246.667,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25061,
    "c": 0.1328,
    "h": 275.9
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#170E5F
secondary
#8D9930
accent
#F137DC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #170E5F

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

Preview Lab → · Contrast checker → · Palette generator →

#170E5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva