#170F69#170F69

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

Color values

HEX#170F69
RGBrgb(23, 15, 105)
HSLhsl(245, 75%, 24%)
HSVhsv(245, 86%, 41%)
CMYKcmyk(78.1%, 85.7%, 0%, 58.8%)
CIE-LABlab(12.88, 34.80, -49.93)
CIE-LCHlch(12.88, 60.86, 304.88°)
OKLaboklab(26.44% 0.0103 -0.1444)
OKLCHoklch(26.44% 0.145 274.1)
XYZxyz(3.0731, 1.5434, 13.4978)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F69 #61690F
analogous
#0F3469 #170F69 #440F69
triadic
#170F69 #69170F #0F6917
tetradic
#170F69 #690F34 #61690F #0F6944
square
#170F69 #690F34 #61690F #0F6944
split-complementary
#170F69 #69440F #34690F
monochromatic
#06041B #0B0733 #170F69 #23179F #2E1ED4

Accessibility & contrast

On white

16.05
#170F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170F69
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F69#FFFFFF#000000##FFFFFF
##170F691.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.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: #170f69;
/* rgb */ color: rgb(23, 15, 105);
/* oklch */ color: oklch(26.4% 0.145 274.1);
Tailwind
colors: {
  custom: {
    50: '#645095',
    500: '#170f69',
    950: '#000000',
  },
}
SCSS
$custom: #170f69;
$custom-light: #645095;
$custom-dark: #000000;
JSON
{
  "hex": "#170f69",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 245.333,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26438,
    "c": 0.14477,
    "h": 274.1
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#170F69
secondary
#98A132
accent
#F236E1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #170F69

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

Preview Lab → · Contrast checker → · Palette generator →

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