#171E49#171E49

#171E49 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.080 H 272.5°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#171E49
RGBrgb(23, 30, 73)
HSLhsl(232, 52%, 19%)
HSVhsv(232, 68%, 29%)
CMYKcmyk(68.5%, 58.9%, 0%, 71.4%)
CIE-LABlab(13.18, 12.72, -27.87)
CIE-LCHlch(13.18, 30.63, 294.54°)
OKLaboklab(25.64% 0.0035 -0.0799)
OKLCHoklch(25.64% 0.08 272.5)
XYZxyz(2.0198, 1.5916, 6.5028)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E49 #494217
analogous
#173749 #171E49 #291749
triadic
#171E49 #49171E #1E4917
tetradic
#171E49 #491737 #494217 #174929
square
#171E49 #491737 #494217 #174929
split-complementary
#171E49 #492917 #374917
monochromatic
#070A17 #080B1A #171E49 #263178 #3444A6

Accessibility & contrast

On white

15.93
#171E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#171E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E49
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E49#FFFFFF#000000##FFFFFF
##171E491.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171e49;
/* rgb */ color: rgb(23, 30, 73);
/* oklch */ color: oklch(25.6% 0.080 272.5);
Tailwind
colors: {
  custom: {
    50: '#5a597c',
    500: '#171e49',
    950: '#000000',
  },
}
SCSS
$custom: #171e49;
$custom-light: #5a597c;
$custom-dark: #000000;
JSON
{
  "hex": "#171e49",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 231.6,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25641,
    "c": 0.08,
    "h": 272.5
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#171E49
secondary
#80773C
accent
#C74CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #171E49

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

Preview Lab → · Contrast checker → · Palette generator →

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