#171466#171466

#171466 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.136 H 273.7°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#171466
RGBrgb(23, 20, 102)
HSLhsl(242, 67%, 24%)
HSVhsv(242, 80%, 40%)
CMYKcmyk(77.5%, 80.4%, 0%, 60%)
CIE-LABlab(13.48, 30.96, -46.96)
CIE-LCHlch(13.48, 56.25, 303.40°)
OKLaboklab(26.75% 0.0089 -0.1358)
OKLCHoklch(26.75% 0.136 273.7)
XYZxyz(3.0010, 1.6415, 12.7265)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171466 #636614
analogous
#143A66 #171466 #401466
triadic
#171466 #661714 #146617
tetradic
#171466 #66143A #636614 #146640
square
#171466 #66143A #636614 #146640
split-complementary
#171466 #664014 #3A6614
monochromatic
#06051A #0B0A33 #171466 #231E99 #2E28CC

Accessibility & contrast

On white

15.81
#171466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#171466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171466
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171466#FFFFFF#000000##FFFFFF
##1714661.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171466;
/* rgb */ color: rgb(23, 20, 102);
/* oklch */ color: oklch(26.7% 0.136 273.7);
Tailwind
colors: {
  custom: {
    50: '#635393',
    500: '#171466',
    950: '#000000',
  },
}
SCSS
$custom: #171466;
$custom-light: #635393;
$custom-dark: #000000;
JSON
{
  "hex": "#171466",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 242.195,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26749,
    "c": 0.13614,
    "h": 273.7
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#171466
secondary
#9A9D39
accent
#EA3EE4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171466

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

Preview Lab → · Contrast checker → · Palette generator →

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