#171E44#171E44

#171E44 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.072 H 272.4°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#171E44
RGBrgb(23, 30, 68)
HSLhsl(231, 49%, 18%)
HSVhsv(231, 66%, 27%)
CMYKcmyk(66.2%, 55.9%, 0%, 73.3%)
CIE-LABlab(12.78, 10.69, -25.03)
CIE-LCHlch(12.78, 27.22, 293.12°)
OKLaboklab(25.22% 0.003 -0.0716)
OKLCHoklch(25.22% 0.072 272.4)
XYZxyz(1.8607, 1.5279, 5.6646)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E44 #443D17
analogous
#173444 #171E44 #261744
triadic
#171E44 #44171E #1E4417
tetradic
#171E44 #441734 #443D17 #174426
square
#171E44 #441734 #443D17 #174426
split-complementary
#171E44 #442617 #344417
monochromatic
#080A17 #080A17 #171E44 #263272 #36469F

Accessibility & contrast

On white

16.08
#171E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E44
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E44#FFFFFF#000000##FFFFFF
##171E441.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2345
Deuteranopia (green-blind)
#041F43
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171e44;
/* rgb */ color: rgb(23, 30, 68);
/* oklch */ color: oklch(25.2% 0.072 272.4);
Tailwind
colors: {
  custom: {
    50: '#595978',
    500: '#171e44',
    950: '#000000',
  },
}
SCSS
$custom: #171e44;
$custom-light: #595978;
$custom-dark: #000000;
JSON
{
  "hex": "#171e44",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 68
  },
  "hsl": {
    "h": 230.667,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25218,
    "c": 0.07164,
    "h": 272.4
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#171E44
secondary
#7B713C
accent
#C34FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171E44

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

Preview Lab → · Contrast checker → · Palette generator →

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