#170E63#170E63

#170E63 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.138 H 275.2°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#170E63
RGBrgb(23, 14, 99)
HSLhsl(246, 75%, 22%)
HSVhsv(246, 86%, 39%)
CMYKcmyk(76.8%, 85.9%, 0%, 61.2%)
CIE-LABlab(11.94, 33.30, -47.53)
CIE-LCHlch(11.94, 58.03, 305.02°)
OKLaboklab(25.56% 0.0124 -0.1374)
OKLCHoklch(25.56% 0.138 275.2)
XYZxyz(2.7618, 1.3968, 11.9260)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E63 #5A630E
analogous
#0E3063 #170E63 #420E63
triadic
#170E63 #63170E #0E6317
tetradic
#170E63 #630E30 #5A630E #0E6342
square
#170E63 #630E30 #5A630E #0E6342
split-complementary
#170E63 #63420E #30630E
monochromatic
#06041B #0B062D #170E63 #231699 #301DCE

Accessibility & contrast

On white

16.41
#170E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170E63
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E63#FFFFFF#000000##FFFFFF
##170E631.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002365
Deuteranopia (green-blind)
#001B62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #170e63;
/* rgb */ color: rgb(23, 14, 99);
/* oklch */ color: oklch(25.6% 0.138 275.2);
Tailwind
colors: {
  custom: {
    50: '#634f90',
    500: '#170e63',
    950: '#000000',
  },
}
SCSS
$custom: #170e63;
$custom-light: #634f90;
$custom-dark: #000000;
JSON
{
  "hex": "#170e63",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 99
  },
  "hsl": {
    "h": 246.353,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2556,
    "c": 0.13797,
    "h": 275.2
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#170E63
secondary
#919C30
accent
#F236DE
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #170E63

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

Preview Lab → · Contrast checker → · Palette generator →

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