#170F67#170F67

#170F67 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.142 H 274.4°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#170F67
RGBrgb(23, 15, 103)
HSLhsl(245, 75%, 23%)
HSVhsv(245, 85%, 40%)
CMYKcmyk(77.7%, 85.4%, 0%, 59.6%)
CIE-LABlab(12.63, 34.13, -49.03)
CIE-LCHlch(12.63, 59.74, 304.84°)
OKLaboklab(26.19% 0.0109 -0.1418)
OKLCHoklch(26.19% 0.142 274.4)
XYZxyz(2.9715, 1.5028, 12.9628)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F67 #5F670F
analogous
#0F3367 #170F67 #430F67
triadic
#170F67 #67170F #0F6717
tetradic
#170F67 #670F33 #5F670F #0F6743
square
#170F67 #670F33 #5F670F #0F6743
split-complementary
#170F67 #67430F #33670F
monochromatic
#06041B #0B0732 #170F67 #23179C #2F1FD2

Accessibility & contrast

On white

16.15
#170F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170F67
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F67#FFFFFF#000000##FFFFFF
##170F671.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001D66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #170f67;
/* rgb */ color: rgb(23, 15, 103);
/* oklch */ color: oklch(26.2% 0.142 274.4);
Tailwind
colors: {
  custom: {
    50: '#645093',
    500: '#170f67',
    950: '#000000',
  },
}
SCSS
$custom: #170f67;
$custom-light: #645093;
$custom-dark: #000000;
JSON
{
  "hex": "#170f67",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 245.455,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26187,
    "c": 0.14221,
    "h": 274.4
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#170F67
secondary
#96A032
accent
#F137E0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #170F67

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

Preview Lab → · Contrast checker → · Palette generator →

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