#170E47#170E47

#170E47 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.100 H 281.7°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#170E47
RGBrgb(23, 14, 71)
HSLhsl(249, 67%, 17%)
HSVhsv(249, 80%, 28%)
CMYKcmyk(67.6%, 80.3%, 0%, 72.2%)
CIE-LABlab(8.58, 23.46, -33.97)
CIE-LCHlch(8.58, 41.29, 304.63°)
OKLaboklab(22.21% 0.0203 -0.0979)
OKLCHoklch(22.21% 0.1 281.7)
XYZxyz(1.6474, 0.9511, 6.0568)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E47 #3E470E
analogous
#0E2247 #170E47 #340E47
triadic
#170E47 #47170E #0E4717
tetradic
#170E47 #470E22 #3E470E #0E4734
square
#170E47 #470E22 #3E470E #0E4734
split-complementary
#170E47 #47340E #22470E
monochromatic
#08051A #08051A #170E47 #28187A #3822AD

Accessibility & contrast

On white

17.64
#170E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170E47
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E47#FFFFFF#000000##FFFFFF
##170E471.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #170e47;
/* rgb */ color: rgb(23, 14, 71);
/* oklch */ color: oklch(22.2% 0.100 281.7);
Tailwind
colors: {
  custom: {
    50: '#5b4d7b',
    500: '#170e47',
    950: '#000000',
  },
}
SCSS
$custom: #170e47;
$custom-light: #5b4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#170e47",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 249.474,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22208,
    "c": 0.10002,
    "h": 281.7
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#170E47
secondary
#75822F
accent
#EA3ECF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #170E47

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

Preview Lab → · Contrast checker → · Palette generator →

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