#170E54#170E54

#170E54 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.7% C 0.118 H 278.2°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#170E54
RGBrgb(23, 14, 84)
HSLhsl(248, 71%, 19%)
HSVhsv(248, 83%, 33%)
CMYKcmyk(72.6%, 83.3%, 0%, 67.1%)
CIE-LABlab(10.08, 28.12, -40.50)
CIE-LCHlch(10.08, 49.30, 304.78°)
OKLaboklab(23.72% 0.0169 -0.117)
OKLCHoklch(23.72% 0.118 278.2)
XYZxyz(2.1101, 1.1361, 8.4939)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E54 #4B540E
analogous
#0E2854 #170E54 #3A0E54
triadic
#170E54 #54170E #0E5417
tetradic
#170E54 #540E28 #4B540E #0E543A
square
#170E54 #540E28 #4B540E #0E543A
split-complementary
#170E54 #543A0E #28540E
monochromatic
#07041A #090520 #170E54 #251788 #341FBD

Accessibility & contrast

On white

17.11
#170E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#170E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E54
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E54#FFFFFF#000000##FFFFFF
##170E541.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E56
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170e54;
/* rgb */ color: rgb(23, 14, 84);
/* oklch */ color: oklch(23.7% 0.118 278.2);
Tailwind
colors: {
  custom: {
    50: '#5f4e85',
    500: '#170e54',
    950: '#000000',
  },
}
SCSS
$custom: #170e54;
$custom-light: #5f4e85;
$custom-dark: #000000;
JSON
{
  "hex": "#170e54",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 247.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23718,
    "c": 0.11818,
    "h": 278.2
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#170E54
secondary
#828E2F
accent
#EE3AD7
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #170E54

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

Preview Lab → · Contrast checker → · Palette generator →

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