#171370#171370

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

Color values

HEX#171370
RGBrgb(23, 19, 112)
HSLhsl(243, 71%, 26%)
HSVhsv(243, 83%, 44%)
CMYKcmyk(79.5%, 83%, 0%, 56.1%)
CIE-LABlab(14.50, 35.05, -51.83)
CIE-LCHlch(14.50, 62.56, 304.07°)
OKLaboklab(27.82% 0.0069 -0.15)
OKLCHoklch(27.82% 0.15 272.6)
XYZxyz(3.5099, 1.8174, 15.4919)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171370 #6C7013
analogous
#133D70 #171370 #451370
triadic
#171370 #701713 #137017
tetradic
#171370 #70133D #6C7013 #137045
square
#171370 #70133D #6C7013 #137045
split-complementary
#171370 #704513 #3D7013
monochromatic
#05041A #0C0A3C #171370 #221CA4 #2C25D9

Accessibility & contrast

On white

15.40
#171370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171370
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171370#FFFFFF#000000##FFFFFF
##1713701.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00206E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171370;
/* rgb */ color: rgb(23, 19, 112);
/* oklch */ color: oklch(27.8% 0.150 272.6);
Tailwind
colors: {
  custom: {
    50: '#66539a',
    500: '#171370',
    950: '#000000',
  },
}
SCSS
$custom: #171370;
$custom-light: #66539a;
$custom-dark: #000000;
JSON
{
  "hex": "#171370",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 242.581,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2782,
    "c": 0.15014,
    "h": 272.6
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#171370
secondary
#A2A738
accent
#EE3AE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171370

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

Preview Lab → · Contrast checker → · Palette generator →

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