#171073#171073

#171073 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.156 H 272.6°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#171073
RGBrgb(23, 16, 115)
HSLhsl(244, 76%, 26%)
HSVhsv(244, 86%, 45%)
CMYKcmyk(80%, 86.1%, 0%, 54.9%)
CIE-LABlab(14.35, 37.61, -54.03)
CIE-LCHlch(14.35, 65.83, 304.85°)
OKLaboklab(27.82% 0.0071 -0.1563)
OKLCHoklch(27.82% 0.156 272.6)
XYZxyz(3.6321, 1.7902, 16.3704)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171073 #6C7310
analogous
#103B73 #171073 #481073
triadic
#171073 #731710 #107317
tetradic
#171073 #73103B #6C7310 #107348
square
#171073 #73103B #6C7310 #107348
split-complementary
#171073 #734810 #3B7310
monochromatic
#05041B #0C093D #171073 #2217A9 #2C1FDE

Accessibility & contrast

On white

15.46
#171073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#171073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171073
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171073#FFFFFF#000000##FFFFFF
##1710731.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#001F71
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171073;
/* rgb */ color: rgb(23, 16, 115);
/* oklch */ color: oklch(27.8% 0.156 272.6);
Tailwind
colors: {
  custom: {
    50: '#67529c',
    500: '#171073',
    950: '#000000',
  },
}
SCSS
$custom: #171073;
$custom-light: #67529c;
$custom-dark: #000000;
JSON
{
  "hex": "#171073",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 244.242,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27824,
    "c": 0.15646,
    "h": 272.6
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#171073
secondary
#A2AA34
accent
#F236E5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171073

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

Preview Lab → · Contrast checker → · Palette generator →

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