#170E62#170E62

#170E62 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.137 H 275.3°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#170E62
RGBrgb(23, 14, 98)
HSLhsl(246, 75%, 22%)
HSVhsv(246, 86%, 38%)
CMYKcmyk(76.5%, 85.7%, 0%, 61.6%)
CIE-LABlab(11.81, 32.96, -47.07)
CIE-LCHlch(11.81, 57.47, 305.00°)
OKLaboklab(25.44% 0.0127 -0.1361)
OKLCHoklch(25.44% 0.137 275.3)
XYZxyz(2.7143, 1.3778, 11.6758)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E62 #59620E
analogous
#0E2F62 #170E62 #410E62
triadic
#170E62 #62170E #0E6217
tetradic
#170E62 #620E2F #59620E #0E6241
square
#170E62 #620E2F #59620E #0E6241
split-complementary
#170E62 #62410E #2F620E
monochromatic
#06041B #0A062C #170E62 #241698 #301DCD

Accessibility & contrast

On white

16.46
#170E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#170E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E62
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E62#FFFFFF#000000##FFFFFF
##170E621.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002364
Deuteranopia (green-blind)
#001B61
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #170e62;
/* rgb */ color: rgb(23, 14, 98);
/* oklch */ color: oklch(25.4% 0.137 275.3);
Tailwind
colors: {
  custom: {
    50: '#624f90',
    500: '#170e62',
    950: '#000000',
  },
}
SCSS
$custom: #170e62;
$custom-light: #624f90;
$custom-dark: #000000;
JSON
{
  "hex": "#170e62",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 98
  },
  "hsl": {
    "h": 246.429,
    "s": 75,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25435,
    "c": 0.13668,
    "h": 275.3
  },
  "luminance": 0.01378
}

Semantic roles & 50–950 ramp

primary
#170E62
secondary
#909B30
accent
#F236DE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #170E62

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

Preview Lab → · Contrast checker → · Palette generator →

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