#171374#171374

#171374 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.155 H 272.2°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#171374
RGBrgb(23, 19, 116)
HSLhsl(242, 72%, 26%)
HSVhsv(242, 84%, 45%)
CMYKcmyk(80.2%, 83.6%, 0%, 54.5%)
CIE-LABlab(15.00, 36.41, -53.59)
CIE-LCHlch(15.00, 64.79, 304.19°)
OKLaboklab(28.32% 0.006 -0.1551)
OKLCHoklch(28.32% 0.155 272.2)
XYZxyz(3.7375, 1.9085, 16.6910)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171374 #707413
analogous
#134074 #171374 #481374
triadic
#171374 #741713 #137417
tetradic
#171374 #741340 #707413 #137448
square
#171374 #741340 #707413 #137448
split-complementary
#171374 #744813 #407413
monochromatic
#05041A #0D0A3F #171374 #211CA9 #2D26DB

Accessibility & contrast

On white

15.20
#171374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171374
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171374#FFFFFF#000000##FFFFFF
##1713741.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171374;
/* rgb */ color: rgb(23, 19, 116);
/* oklch */ color: oklch(28.3% 0.155 272.2);
Tailwind
colors: {
  custom: {
    50: '#67539d',
    500: '#171374',
    950: '#000000',
  },
}
SCSS
$custom: #171374;
$custom-light: #67539d;
$custom-dark: #000000;
JSON
{
  "hex": "#171374",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 242.474,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28315,
    "c": 0.1552,
    "h": 272.2
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#171374
secondary
#A6AA38
accent
#EF39E7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171374

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

Preview Lab → · Contrast checker → · Palette generator →

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