#171E43#171E43

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

Color values

HEX#171E43
RGBrgb(23, 30, 67)
HSLhsl(230, 49%, 18%)
HSVhsv(230, 66%, 26%)
CMYKcmyk(65.7%, 55.2%, 0%, 73.7%)
CIE-LABlab(12.71, 10.28, -24.46)
CIE-LCHlch(12.71, 26.53, 292.80°)
OKLaboklab(25.14% 0.0029 -0.0699)
OKLCHoklch(25.14% 0.07 272.4)
XYZxyz(1.8304, 1.5158, 5.5052)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E43 #433C17
analogous
#173443 #171E43 #261743
triadic
#171E43 #43171E #1E4317
tetradic
#171E43 #431734 #433C17 #174326
square
#171E43 #431734 #433C17 #174326
split-complementary
#171E43 #432617 #344317
monochromatic
#080A17 #080A17 #171E43 #273271 #36479E

Accessibility & contrast

On white

16.11
#171E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#171E43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E43
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E43#FFFFFF#000000##FFFFFF
##171E431.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2344
Deuteranopia (green-blind)
#051F42
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171e43;
/* rgb */ color: rgb(23, 30, 67);
/* oklch */ color: oklch(25.1% 0.070 272.4);
Tailwind
colors: {
  custom: {
    50: '#595977',
    500: '#171e43',
    950: '#000000',
  },
}
SCSS
$custom: #171e43;
$custom-light: #595977;
$custom-dark: #000000;
JSON
{
  "hex": "#171e43",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 67
  },
  "hsl": {
    "h": 230.455,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25135,
    "c": 0.06994,
    "h": 272.4
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#171E43
secondary
#7A703C
accent
#C34FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171E43

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

Preview Lab → · Contrast checker → · Palette generator →

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