#171D73#171D73

#171D73 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.144 H 270.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#171D73
RGBrgb(23, 29, 115)
HSLhsl(236, 67%, 27%)
HSVhsv(236, 80%, 45%)
CMYKcmyk(80%, 74.8%, 0%, 54.9%)
CIE-LABlab(16.98, 30.09, -49.67)
CIE-LCHlch(16.98, 58.07, 301.21°)
OKLaboklab(29.68% 0.002 -0.1438)
OKLCHoklch(29.68% 0.144 270.8)
XYZxyz(3.8862, 2.2983, 16.4551)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D73 #736D17
analogous
#174B73 #171D73 #3F1773
triadic
#171D73 #73171D #1D7317
tetradic
#171D73 #73174B #736D17 #17733F
square
#171D73 #73174B #736D17 #17733F
split-complementary
#171D73 #733F17 #4B7317
monochromatic
#05061A #0D1040 #171D73 #212AA6 #2F3AD5

Accessibility & contrast

On white

14.39
#171D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#171D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171D73
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D73#FFFFFF#000000##FFFFFF
##171D731.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #171d73;
/* rgb */ color: rgb(23, 29, 115);
/* oklch */ color: oklch(29.7% 0.144 270.8);
Tailwind
colors: {
  custom: {
    50: '#66599c',
    500: '#171d73',
    950: '#000000',
  },
}
SCSS
$custom: #171d73;
$custom-light: #66599c;
$custom-dark: #000000;
JSON
{
  "hex": "#171d73",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 236.087,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29681,
    "c": 0.14381,
    "h": 270.8
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#171D73
secondary
#A9A23D
accent
#DE3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171D73

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

Preview Lab → · Contrast checker → · Palette generator →

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