#170E50#170E50

#170E50 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.113 H 279.2°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#170E50
RGBrgb(23, 14, 80)
HSLhsl(248, 70%, 18%)
HSVhsv(248, 83%, 31%)
CMYKcmyk(71.2%, 82.5%, 0%, 68.6%)
CIE-LABlab(9.60, 26.70, -38.53)
CIE-LCHlch(9.60, 46.88, 304.72°)
OKLaboklab(23.24% 0.018 -0.1113)
OKLCHoklch(23.24% 0.113 279.2)
XYZxyz(1.9579, 1.0753, 7.6922)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E50 #47500E
analogous
#0E2650 #170E50 #380E50
triadic
#170E50 #50170E #0E5017
tetradic
#170E50 #500E26 #47500E #0E5038
square
#170E50 #500E26 #47500E #0E5038
split-complementary
#170E50 #50380E #26500E
monochromatic
#07051A #08051C #170E50 #261784 #3520B8

Accessibility & contrast

On white

17.28
#170E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#170E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E50
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E50#FFFFFF#000000##FFFFFF
##170E501.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #170e50;
/* rgb */ color: rgb(23, 14, 80);
/* oklch */ color: oklch(23.2% 0.113 279.2);
Tailwind
colors: {
  custom: {
    50: '#5e4e82',
    500: '#170e50',
    950: '#000000',
  },
}
SCSS
$custom: #170e50;
$custom-light: #5e4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#170e50",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 248.182,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23243,
    "c": 0.1127,
    "h": 279.2
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#170E50
secondary
#7E8B2F
accent
#ED3BD5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #170E50

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

Preview Lab → · Contrast checker → · Palette generator →

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