#170E5E#170E5E

#170E5E is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.132 H 276.1°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#170E5E
RGBrgb(23, 14, 94)
HSLhsl(247, 74%, 21%)
HSVhsv(247, 85%, 37%)
CMYKcmyk(75.5%, 85.1%, 0%, 63.1%)
CIE-LABlab(11.30, 31.60, -45.23)
CIE-LCHlch(11.30, 55.18, 304.94°)
OKLaboklab(24.94% 0.0139 -0.1308)
OKLCHoklch(24.94% 0.132 276.1)
XYZxyz(2.5301, 1.3041, 10.7059)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E5E #555E0E
analogous
#0E2D5E #170E5E #3F0E5E
triadic
#170E5E #5E170E #0E5E17
tetradic
#170E5E #5E0E2D #555E0E #0E5E3F
square
#170E5E #5E0E2D #555E0E #0E5E3F
split-complementary
#170E5E #5E3F0E #2D5E0E
monochromatic
#07041B #0A0629 #170E5E #241693 #311EC9

Accessibility & contrast

On white

16.66
#170E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170E5E
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E5E#FFFFFF#000000##FFFFFF
##170E5E1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002160
Deuteranopia (green-blind)
#001B5D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #170e5e;
/* rgb */ color: rgb(23, 14, 94);
/* oklch */ color: oklch(24.9% 0.132 276.1);
Tailwind
colors: {
  custom: {
    50: '#614f8d',
    500: '#170e5e',
    950: '#000000',
  },
}
SCSS
$custom: #170e5e;
$custom-light: #614f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#170e5e",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 246.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.24937,
    "c": 0.1315,
    "h": 276.1
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #170E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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