#171A44#171A44

#171A44 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.078 H 275.9°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#171A44
RGBrgb(23, 26, 68)
HSLhsl(236, 49%, 18%)
HSVhsv(236, 66%, 27%)
CMYKcmyk(66.2%, 61.8%, 0%, 73.3%)
CIE-LABlab(11.54, 13.72, -27.04)
CIE-LCHlch(11.54, 30.32, 296.90°)
OKLaboklab(24.28% 0.008 -0.0775)
OKLCHoklch(24.28% 0.078 275.9)
XYZxyz(1.7658, 1.3382, 5.6330)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A44 #444117
analogous
#173044 #171A44 #2A1744
triadic
#171A44 #44171A #1A4417
tetradic
#171A44 #441730 #444117 #17442A
square
#171A44 #441730 #444117 #17442A
split-complementary
#171A44 #442A17 #304417
monochromatic
#080917 #080917 #171A44 #262B72 #363D9F

Accessibility & contrast

On white

16.57
#171A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#171A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A44
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A44#FFFFFF#000000##FFFFFF
##171A441.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012145
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171a44;
/* rgb */ color: rgb(23, 26, 68);
/* oklch */ color: oklch(24.3% 0.078 275.9);
Tailwind
colors: {
  custom: {
    50: '#595678',
    500: '#171a44',
    950: '#000000',
  },
}
SCSS
$custom: #171a44;
$custom-light: #595678;
$custom-dark: #000000;
JSON
{
  "hex": "#171a44",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 236,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24281,
    "c": 0.07794,
    "h": 275.9
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#171A44
secondary
#7B773C
accent
#D04FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171A44

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

Preview Lab → · Contrast checker → · Palette generator →

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