#171A45#171A45

#171A45 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.080 H 275.8°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#171A45
RGBrgb(23, 26, 69)
HSLhsl(236, 50%, 18%)
HSVhsv(236, 67%, 27%)
CMYKcmyk(66.7%, 62.3%, 0%, 72.9%)
CIE-LABlab(11.62, 14.12, -27.60)
CIE-LCHlch(11.62, 31.01, 297.09°)
OKLaboklab(24.37% 0.008 -0.0792)
OKLCHoklch(24.37% 0.08 275.8)
XYZxyz(1.7966, 1.3505, 5.7951)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A45 #454217
analogous
#173145 #171A45 #2B1745
triadic
#171A45 #45171A #1A4517
tetradic
#171A45 #451731 #454217 #17452B
square
#171A45 #451731 #454217 #17452B
split-complementary
#171A45 #452B17 #314517
monochromatic
#080917 #080917 #171A45 #262B73 #363DA1

Accessibility & contrast

On white

16.53
#171A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171A45
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A45#FFFFFF#000000##FFFFFF
##171A451.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171a45;
/* rgb */ color: rgb(23, 26, 69);
/* oklch */ color: oklch(24.4% 0.080 275.8);
Tailwind
colors: {
  custom: {
    50: '#5a5679',
    500: '#171a45',
    950: '#000000',
  },
}
SCSS
$custom: #171a45;
$custom-light: #5a5679;
$custom-dark: #000000;
JSON
{
  "hex": "#171a45",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 236.087,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24371,
    "c": 0.07959,
    "h": 275.8
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#171A45
secondary
#7C783C
accent
#D04EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171A45

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

Preview Lab → · Contrast checker → · Palette generator →

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