#170F70#170F70

#170F70 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.154 H 273.1°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#170F70
RGBrgb(23, 15, 112)
HSLhsl(245, 76%, 25%)
HSVhsv(245, 87%, 44%)
CMYKcmyk(79.5%, 86.6%, 0%, 56.1%)
CIE-LABlab(13.79, 37.12, -53.01)
CIE-LCHlch(13.79, 64.71, 305.00°)
OKLaboklab(27.33% 0.0083 -0.1533)
OKLCHoklch(27.33% 0.154 273.1)
XYZxyz(3.4478, 1.6933, 15.4712)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F70 #68700F
analogous
#0F3870 #170F70 #470F70
triadic
#170F70 #70170F #0F7017
tetradic
#170F70 #700F38 #68700F #0F7047
square
#170F70 #700F38 #68700F #0F7047
split-complementary
#170F70 #70470F #38700F
monochromatic
#06041B #0C083A #170F70 #2216A6 #2D1DDC

Accessibility & contrast

On white

15.69
#170F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#170F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170F70
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F70#FFFFFF#000000##FFFFFF
##170F701.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#001E6E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #170f70;
/* rgb */ color: rgb(23, 15, 112);
/* oklch */ color: oklch(27.3% 0.154 273.1);
Tailwind
colors: {
  custom: {
    50: '#66519a',
    500: '#170f70',
    950: '#000000',
  },
}
SCSS
$custom: #170f70;
$custom-light: #66519a;
$custom-dark: #000000;
JSON
{
  "hex": "#170f70",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 244.948,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27326,
    "c": 0.15354,
    "h": 273.1
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#170F70
secondary
#9EA833
accent
#F335E3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #170F70

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

Preview Lab → · Contrast checker → · Palette generator →

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