#171474#171474

#171474 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.154 H 272.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#171474
RGBrgb(23, 20, 116)
HSLhsl(242, 71%, 27%)
HSVhsv(242, 83%, 45%)
CMYKcmyk(80.2%, 82.8%, 0%, 54.5%)
CIE-LABlab(15.19, 35.87, -53.28)
CIE-LCHlch(15.19, 64.23, 303.95°)
OKLaboklab(28.44% 0.0056 -0.1542)
OKLCHoklch(28.44% 0.154 272.1)
XYZxyz(3.7548, 1.9430, 16.6968)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171474 #717414
analogous
#144174 #171474 #471474
triadic
#171474 #741714 #147417
tetradic
#171474 #741441 #717414 #147447
square
#171474 #741441 #717414 #147447
split-complementary
#171474 #744714 #417414
monochromatic
#05051A #0D0B40 #171474 #211DA8 #2E28DA

Accessibility & contrast

On white

15.12
#171474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171474
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171474#FFFFFF#000000##FFFFFF
##1714741.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171474;
/* rgb */ color: rgb(23, 20, 116);
/* oklch */ color: oklch(28.4% 0.154 272.1);
Tailwind
colors: {
  custom: {
    50: '#67549d',
    500: '#171474',
    950: '#000000',
  },
}
SCSS
$custom: #171474;
$custom-light: #67549d;
$custom-dark: #000000;
JSON
{
  "hex": "#171474",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 241.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28444,
    "c": 0.15431,
    "h": 272.1
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#171474
secondary
#A7AA3A
accent
#ED3AE8
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171474

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

Preview Lab → · Contrast checker → · Palette generator →

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