#170E45#170E45

#170E45 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.097 H 282.4°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#170E45
RGBrgb(23, 14, 69)
HSLhsl(250, 66%, 16%)
HSVhsv(250, 80%, 27%)
CMYKcmyk(66.7%, 79.7%, 0%, 72.9%)
CIE-LABlab(8.36, 22.73, -32.93)
CIE-LCHlch(8.36, 40.01, 304.62°)
OKLaboklab(21.99% 0.0208 -0.0949)
OKLCHoklch(21.99% 0.097 282.4)
XYZxyz(1.5842, 0.9258, 5.7243)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E45 #3C450E
analogous
#0E2145 #170E45 #330E45
triadic
#170E45 #45170E #0E4517
tetradic
#170E45 #450E21 #3C450E #0E4533
square
#170E45 #450E21 #3C450E #0E4533
split-complementary
#170E45 #45330E #21450E
monochromatic
#080519 #080519 #170E45 #281878 #3923AB

Accessibility & contrast

On white

17.72
#170E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#170E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E45
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E45#FFFFFF#000000##FFFFFF
##170E451.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001644
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #170e45;
/* rgb */ color: rgb(23, 14, 69);
/* oklch */ color: oklch(22.0% 0.097 282.4);
Tailwind
colors: {
  custom: {
    50: '#5b4d79',
    500: '#170e45',
    950: '#000000',
  },
}
SCSS
$custom: #170e45;
$custom-light: #5b4d79;
$custom-dark: #000000;
JSON
{
  "hex": "#170e45",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 249.818,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21985,
    "c": 0.09713,
    "h": 282.4
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#170E45
secondary
#73802F
accent
#E93FCD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #170E45

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

Preview Lab → · Contrast checker → · Palette generator →

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