#171068#171068

#171068 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.143 H 274.1°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#171068
RGBrgb(23, 16, 104)
HSLhsl(245, 73%, 24%)
HSVhsv(245, 85%, 41%)
CMYKcmyk(77.9%, 84.6%, 0%, 59.2%)
CIE-LABlab(12.93, 33.94, -49.18)
CIE-LCHlch(12.93, 59.75, 304.61°)
OKLaboklab(26.44% 0.0102 -0.1422)
OKLCHoklch(26.44% 0.143 274.1)
XYZxyz(3.0365, 1.5519, 13.2335)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171068 #616810
analogous
#103568 #171068 #431068
triadic
#171068 #681710 #106817
tetradic
#171068 #681035 #616810 #106843
square
#171068 #681035 #616810 #106843
split-complementary
#171068 #684310 #356810
monochromatic
#06041B #0B0833 #171068 #23189D #2E20D2

Accessibility & contrast

On white

16.03
#171068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171068
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171068#FFFFFF#000000##FFFFFF
##1710681.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171068;
/* rgb */ color: rgb(23, 16, 104);
/* oklch */ color: oklch(26.4% 0.143 274.1);
Tailwind
colors: {
  custom: {
    50: '#645194',
    500: '#171068',
    950: '#000000',
  },
}
SCSS
$custom: #171068;
$custom-light: #645194;
$custom-dark: #000000;
JSON
{
  "hex": "#171068",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 244.773,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26438,
    "c": 0.14261,
    "h": 274.1
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#171068
secondary
#98A034
accent
#F038E1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171068

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

Preview Lab → · Contrast checker → · Palette generator →

#171068 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva