#170E69#170E69

#170E69 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.146 H 274.2°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#170E69
RGBrgb(23, 14, 105)
HSLhsl(246, 76%, 23%)
HSVhsv(246, 87%, 41%)
CMYKcmyk(78.1%, 86.7%, 0%, 58.8%)
CIE-LABlab(12.71, 35.31, -50.22)
CIE-LCHlch(12.71, 61.39, 305.11°)
OKLaboklab(26.32% 0.0106 -0.1452)
OKLCHoklch(26.32% 0.146 274.2)
XYZxyz(3.0593, 1.5158, 13.4932)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E69 #60690E
analogous
#0E3269 #170E69 #440E69
triadic
#170E69 #69170E #0E6917
tetradic
#170E69 #690E32 #60690E #0E6944
square
#170E69 #690E32 #60690E #0E6944
split-complementary
#170E69 #69440E #32690E
monochromatic
#06041B #0B0733 #170E69 #23159F #2F1CD5

Accessibility & contrast

On white

16.11
#170E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#170E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E69
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E69#FFFFFF#000000##FFFFFF
##170E691.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256B
Deuteranopia (green-blind)
#001D67
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #170e69;
/* rgb */ color: rgb(23, 14, 105);
/* oklch */ color: oklch(26.3% 0.146 274.2);
Tailwind
colors: {
  custom: {
    50: '#645095',
    500: '#170e69',
    950: '#000000',
  },
}
SCSS
$custom: #170e69;
$custom-light: #645095;
$custom-dark: #000000;
JSON
{
  "hex": "#170e69",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 105
  },
  "hsl": {
    "h": 245.934,
    "s": 76.471,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26318,
    "c": 0.1456,
    "h": 274.2
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#170E69
secondary
#97A231
accent
#F335E0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #170E69

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

Preview Lab → · Contrast checker → · Palette generator →

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