#170E58#170E58

#170E58 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.124 H 277.3°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#170E58
RGBrgb(23, 14, 88)
HSLhsl(247, 73%, 20%)
HSVhsv(247, 84%, 35%)
CMYKcmyk(73.9%, 84.1%, 0%, 65.5%)
CIE-LABlab(10.56, 29.53, -42.42)
CIE-LCHlch(10.56, 51.68, 304.84°)
OKLaboklab(24.2% 0.0157 -0.1226)
OKLCHoklch(24.2% 0.124 277.3)
XYZxyz(2.2713, 1.2006, 9.3427)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E58 #4F580E
analogous
#0E2A58 #170E58 #3C0E58
triadic
#170E58 #58170E #0E5817
tetradic
#170E58 #580E2A #4F580E #0E583C
square
#170E58 #580E2A #4F580E #0E583C
split-complementary
#170E58 #583C0E #2A580E
monochromatic
#07041A #090623 #170E58 #25168D #331FC2

Accessibility & contrast

On white

16.93
#170E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#170E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E58
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E58#FFFFFF#000000##FFFFFF
##170E581.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001957
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #170e58;
/* rgb */ color: rgb(23, 14, 88);
/* oklch */ color: oklch(24.2% 0.124 277.3);
Tailwind
colors: {
  custom: {
    50: '#604e88',
    500: '#170e58',
    950: '#000000',
  },
}
SCSS
$custom: #170e58;
$custom-light: #604e88;
$custom-dark: #000000;
JSON
{
  "hex": "#170e58",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 247.297,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.24201,
    "c": 0.12357,
    "h": 277.3
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

primary
#170E58
secondary
#869230
accent
#EF39D9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #170E58

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

Preview Lab → · Contrast checker → · Palette generator →

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