#171A90#171A90

#171A90 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.184 H 269.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#171A90
RGBrgb(23, 26, 144)
HSLhsl(239, 72%, 33%)
HSVhsv(239, 84%, 56%)
CMYKcmyk(84%, 81.9%, 0%, 43.5%)
CIE-LABlab(19.78, 42.13, -63.41)
CIE-LCHlch(19.78, 76.13, 303.60°)
OKLaboklab(32.66% -0.0021 -0.1836)
OKLCHoklch(32.66% 0.184 269.3)
XYZxyz(5.7551, 2.9339, 26.6431)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A90 #908D17
analogous
#175790 #171A90 #501790
triadic
#171A90 #90171A #1A9017
tetradic
#171A90 #901757 #908D17 #179050
square
#171A90 #901757 #908D17 #179050
split-complementary
#171A90 #905017 #579017
monochromatic
#060726 #0F105B #171A90 #1F24C5 #4145E1

Accessibility & contrast

On white

13.23
#171A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#171A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A90
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A90#FFFFFF#000000##FFFFFF
##171A901.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #171a90;
/* rgb */ color: rgb(23, 26, 144);
/* oklch */ color: oklch(32.7% 0.184 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e59b2',
    500: '#171a90',
    950: '#000000',
  },
}
SCSS
$custom: #171a90;
$custom-light: #6e59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#171a90",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 238.512,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.18366,
    "h": 269.3
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#171A90
secondary
#C1BE42
accent
#EB39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #171A90

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

Preview Lab → · Contrast checker → · Palette generator →

#171A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva