#170E6A#170E6A

#170E6A is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.4% C 0.147 H 274.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#170E6A
RGBrgb(23, 14, 106)
HSLhsl(246, 77%, 24%)
HSVhsv(246, 87%, 42%)
CMYKcmyk(78.3%, 86.8%, 0%, 58.4%)
CIE-LABlab(12.84, 35.64, -50.66)
CIE-LCHlch(12.84, 61.94, 305.13°)
OKLaboklab(26.45% 0.0103 -0.1465)
OKLCHoklch(26.45% 0.147 274)
XYZxyz(3.1110, 1.5365, 13.7655)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E6A #616A0E
analogous
#0E336A #170E6A #450E6A
triadic
#170E6A #6A170E #0E6A17
tetradic
#170E6A #6A0E33 #616A0E #0E6A45
square
#170E6A #6A0E33 #616A0E #0E6A45
split-complementary
#170E6A #6A450E #336A0E
monochromatic
#06041B #0B0734 #170E6A #2315A0 #2E1CD6

Accessibility & contrast

On white

16.06
#170E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#170E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E6A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E6A#FFFFFF#000000##FFFFFF
##170E6A1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256C
Deuteranopia (green-blind)
#001D68
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #170e6a;
/* rgb */ color: rgb(23, 14, 106);
/* oklch */ color: oklch(26.4% 0.147 274.0);
Tailwind
colors: {
  custom: {
    50: '#655096',
    500: '#170e6a',
    950: '#000000',
  },
}
SCSS
$custom: #170e6a;
$custom-light: #655096;
$custom-dark: #000000;
JSON
{
  "hex": "#170e6a",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 106
  },
  "hsl": {
    "h": 245.87,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26446,
    "c": 0.14685,
    "h": 274
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#170E6A
secondary
#98A331
accent
#F335E1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #170E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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