#171074#171074

#171074 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.158 H 272.5°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#171074
RGBrgb(23, 16, 116)
HSLhsl(244, 76%, 26%)
HSVhsv(244, 86%, 45%)
CMYKcmyk(80.2%, 86.2%, 0%, 54.5%)
CIE-LABlab(14.48, 37.94, -54.46)
CIE-LCHlch(14.48, 66.38, 304.87°)
OKLaboklab(27.95% 0.0069 -0.1575)
OKLCHoklch(27.95% 0.158 272.5)
XYZxyz(3.6900, 1.8133, 16.6751)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171074 #6D7410
analogous
#103B74 #171074 #491074
triadic
#171074 #741710 #107417
tetradic
#171074 #74103B #6D7410 #107449
square
#171074 #74103B #6D7410 #107449
split-complementary
#171074 #744910 #3B7410
monochromatic
#05041B #0C093E #171074 #2217AA #2C1FE0

Accessibility & contrast

On white

15.41
#171074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171074
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171074#FFFFFF#000000##FFFFFF
##1710741.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171074;
/* rgb */ color: rgb(23, 16, 116);
/* oklch */ color: oklch(28.0% 0.158 272.5);
Tailwind
colors: {
  custom: {
    50: '#67529d',
    500: '#171074',
    950: '#000000',
  },
}
SCSS
$custom: #171074;
$custom-light: #67529d;
$custom-dark: #000000;
JSON
{
  "hex": "#171074",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 244.2,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27951,
    "c": 0.1577,
    "h": 272.5
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#171074
secondary
#A3AB35
accent
#F235E5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171074

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

Preview Lab → · Contrast checker → · Palette generator →

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