#171350#171350

#171350 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.107 H 277.6°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#171350
RGBrgb(23, 19, 80)
HSLhsl(244, 62%, 19%)
HSVhsv(244, 76%, 31%)
CMYKcmyk(71.2%, 76.3%, 0%, 68.6%)
CIE-LABlab(10.75, 23.49, -36.64)
CIE-LCHlch(10.75, 43.52, 302.66°)
OKLaboklab(24.06% 0.0142 -0.1058)
OKLCHoklch(24.06% 0.107 277.6)
XYZxyz(2.0337, 1.2269, 7.7175)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171350 #4C5013
analogous
#132E50 #171350 #361350
triadic
#171350 #501713 #135017
tetradic
#171350 #50132E #4C5013 #135036
square
#171350 #50132E #4C5013 #135036
split-complementary
#171350 #503613 #2E5013
monochromatic
#070619 #09071F #171350 #251F81 #332AB3

Accessibility & contrast

On white

16.86
#171350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#171350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171350
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171350#FFFFFF#000000##FFFFFF
##1713501.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001A4F
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171350;
/* rgb */ color: rgb(23, 19, 80);
/* oklch */ color: oklch(24.1% 0.107 277.6);
Tailwind
colors: {
  custom: {
    50: '#5d5182',
    500: '#171350',
    950: '#000000',
  },
}
SCSS
$custom: #171350;
$custom-light: #5d5182;
$custom-dark: #000000;
JSON
{
  "hex": "#171350",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 243.934,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24062,
    "c": 0.10671,
    "h": 277.6
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#171350
secondary
#838936
accent
#E543DA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #171350

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

Preview Lab → · Contrast checker → · Palette generator →

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