#171674#171674

#171674 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.152 H 271.8°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#171674
RGBrgb(23, 22, 116)
HSLhsl(241, 68%, 27%)
HSVhsv(241, 81%, 45%)
CMYKcmyk(80.2%, 81%, 0%, 54.5%)
CIE-LABlab(15.57, 34.75, -52.64)
CIE-LCHlch(15.57, 63.08, 303.43°)
OKLaboklab(28.72% 0.0049 -0.1524)
OKLCHoklch(28.72% 0.152 271.8)
XYZxyz(3.7916, 2.0165, 16.7090)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171674 #737416
analogous
#164474 #171674 #461674
triadic
#171674 #741716 #167417
tetradic
#171674 #741644 #737416 #167446
square
#171674 #741644 #737416 #167446
split-complementary
#171674 #744616 #447416
monochromatic
#05051A #0D0C41 #171674 #2120A7 #2F2DD7

Accessibility & contrast

On white

14.96
#171674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#171674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171674
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171674#FFFFFF#000000##FFFFFF
##1716741.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171674;
/* rgb */ color: rgb(23, 22, 116);
/* oklch */ color: oklch(28.7% 0.152 271.8);
Tailwind
colors: {
  custom: {
    50: '#67559d',
    500: '#171674',
    950: '#000000',
  },
}
SCSS
$custom: #171674;
$custom-light: #67559d;
$custom-dark: #000000;
JSON
{
  "hex": "#171674",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 240.638,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28716,
    "c": 0.15246,
    "h": 271.8
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#171674
secondary
#A9AA3C
accent
#EB3DE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171674

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

Preview Lab → · Contrast checker → · Palette generator →

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