#170E4E#170E4E

#170E4E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.0% C 0.110 H 279.7°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#170E4E
RGBrgb(23, 14, 78)
HSLhsl(248, 70%, 18%)
HSVhsv(248, 82%, 31%)
CMYKcmyk(70.5%, 82.1%, 0%, 69.4%)
CIE-LABlab(9.37, 25.99, -37.54)
CIE-LCHlch(9.37, 45.66, 304.70°)
OKLaboklab(23.01% 0.0185 -0.1084)
OKLCHoklch(23.01% 0.11 279.7)
XYZxyz(1.8851, 1.0461, 7.3088)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E4E #454E0E
analogous
#0E254E #170E4E #370E4E
triadic
#170E4E #4E170E #0E4E17
tetradic
#170E4E #4E0E25 #454E0E #0E4E37
square
#170E4E #4E0E25 #454E0E #0E4E37
split-complementary
#170E4E #4E370E #254E0E
monochromatic
#08051A #08051A #170E4E #261782 #3621B6

Accessibility & contrast

On white

17.37
#170E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#170E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E4E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E4E#FFFFFF#000000##FFFFFF
##170E4E1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #170e4e;
/* rgb */ color: rgb(23, 14, 78);
/* oklch */ color: oklch(23.0% 0.110 279.7);
Tailwind
colors: {
  custom: {
    50: '#5d4e80',
    500: '#170e4e',
    950: '#000000',
  },
}
SCSS
$custom: #170e4e;
$custom-light: #5d4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#170e4e",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 248.438,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23009,
    "c": 0.10993,
    "h": 279.7
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#170E4E
secondary
#7C892F
accent
#EC3BD3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #170E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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