#170E4A#170E4A

#170E4A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.104 H 280.8°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#170E4A
RGBrgb(23, 14, 74)
HSLhsl(249, 68%, 17%)
HSVhsv(249, 81%, 29%)
CMYKcmyk(68.9%, 81.1%, 0%, 71%)
CIE-LABlab(8.91, 24.55, -35.52)
CIE-LCHlch(8.91, 43.18, 304.65°)
OKLaboklab(22.55% 0.0196 -0.1024)
OKLCHoklch(22.55% 0.104 280.8)
XYZxyz(1.7460, 0.9905, 6.5764)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E4A #414A0E
analogous
#0E234A #170E4A #350E4A
triadic
#170E4A #4A170E #0E4A17
tetradic
#170E4A #4A0E23 #414A0E #0E4A35
square
#170E4A #4A0E23 #414A0E #0E4A35
split-complementary
#170E4A #4A350E #234A0E
monochromatic
#08051A #08051A #170E4A #27187D #3721B1

Accessibility & contrast

On white

17.53
#170E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#170E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E4A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E4A#FFFFFF#000000##FFFFFF
##170E4A1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #170e4a;
/* rgb */ color: rgb(23, 14, 74);
/* oklch */ color: oklch(22.5% 0.104 280.8);
Tailwind
colors: {
  custom: {
    50: '#5c4d7d',
    500: '#170e4a',
    950: '#000000',
  },
}
SCSS
$custom: #170e4a;
$custom-light: #5c4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#170e4a",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 249,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22547,
    "c": 0.1043,
    "h": 280.8
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#170E4A
secondary
#78852F
accent
#EB3DD1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #170E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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