#170E53#170E53

#170E53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.117 H 278.4°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#170E53
RGBrgb(23, 14, 83)
HSLhsl(248, 71%, 19%)
HSVhsv(248, 83%, 33%)
CMYKcmyk(72.3%, 83.1%, 0%, 67.5%)
CIE-LABlab(9.96, 27.77, -40.01)
CIE-LCHlch(9.96, 48.70, 304.76°)
OKLaboklab(23.6% 0.0171 -0.1156)
OKLCHoklch(23.6% 0.117 278.4)
XYZxyz(2.0712, 1.1206, 8.2891)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E53 #4A530E
analogous
#0E2853 #170E53 #3A0E53
triadic
#170E53 #53170E #0E5317
tetradic
#170E53 #530E28 #4A530E #0E533A
square
#170E53 #530E28 #4A530E #0E533A
split-complementary
#170E53 #533A0E #28530E
monochromatic
#07041A #08051F #170E53 #261787 #3420BC

Accessibility & contrast

On white

17.15
#170E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#170E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E53
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E53#FFFFFF#000000##FFFFFF
##170E531.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #170e53;
/* rgb */ color: rgb(23, 14, 83);
/* oklch */ color: oklch(23.6% 0.117 278.4);
Tailwind
colors: {
  custom: {
    50: '#5e4e84',
    500: '#170e53',
    950: '#000000',
  },
}
SCSS
$custom: #170e53;
$custom-light: #5e4e84;
$custom-dark: #000000;
JSON
{
  "hex": "#170e53",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 247.826,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23599,
    "c": 0.11682,
    "h": 278.4
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#170E53
secondary
#818D2F
accent
#EE3AD6
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #170E53

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

Preview Lab → · Contrast checker → · Palette generator →

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