#171366#171366

#171366 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.137 H 273.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#171366
RGBrgb(23, 19, 102)
HSLhsl(243, 69%, 24%)
HSVhsv(243, 81%, 40%)
CMYKcmyk(77.5%, 81.4%, 0%, 60%)
CIE-LABlab(13.27, 31.56, -47.30)
CIE-LCHlch(13.27, 56.86, 303.71°)
OKLaboklab(26.6% 0.0094 -0.1368)
OKLCHoklch(26.6% 0.137 273.9)
XYZxyz(2.9837, 1.6069, 12.7207)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171366 #626613
analogous
#133866 #171366 #401366
triadic
#171366 #661713 #136617
tetradic
#171366 #661338 #626613 #136640
square
#171366 #661338 #626613 #136640
split-complementary
#171366 #664013 #386613
monochromatic
#06051A #0B0932 #171366 #231D9A #2E26CD

Accessibility & contrast

On white

15.89
#171366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#171366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171366
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171366#FFFFFF#000000##FFFFFF
##1713661.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001E65
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171366;
/* rgb */ color: rgb(23, 19, 102);
/* oklch */ color: oklch(26.6% 0.137 273.9);
Tailwind
colors: {
  custom: {
    50: '#635293',
    500: '#171366',
    950: '#000000',
  },
}
SCSS
$custom: #171366;
$custom-light: #635293;
$custom-dark: #000000;
JSON
{
  "hex": "#171366",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 242.892,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26602,
    "c": 0.13716,
    "h": 273.9
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#171366
secondary
#999D37
accent
#EB3CE3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171366

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

Preview Lab → · Contrast checker → · Palette generator →

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