#171E5C#171E5C

#171E5C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.110 H 271.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#171E5C
RGBrgb(23, 30, 92)
HSLhsl(234, 60%, 23%)
HSVhsv(234, 75%, 36%)
CMYKcmyk(75%, 67.4%, 0%, 63.9%)
CIE-LABlab(14.86, 20.45, -38.04)
CIE-LCHlch(14.86, 43.19, 298.26°)
OKLaboklab(27.42% 0.0037 -0.1098)
OKLCHoklch(27.42% 0.11 271.9)
XYZxyz(2.7487, 1.8831, 10.3418)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E5C #5C5517
analogous
#17405C #171E5C #32175C
triadic
#171E5C #5C171E #1E5C17
tetradic
#171E5C #5C1740 #5C5517 #175C32
square
#171E5C #5C1740 #5C5517 #175C32
split-complementary
#171E5C #5C3217 #405C17
monochromatic
#060818 #0B0E2B #171E5C #232E8D #2F3EBE

Accessibility & contrast

On white

15.25
#171E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E5C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E5C#FFFFFF#000000##FFFFFF
##171E5C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171e5c;
/* rgb */ color: rgb(23, 30, 92);
/* oklch */ color: oklch(27.4% 0.110 271.9);
Tailwind
colors: {
  custom: {
    50: '#5f598b',
    500: '#171e5c',
    950: '#000000',
  },
}
SCSS
$custom: #171e5c;
$custom-light: #5f598b;
$custom-dark: #000000;
JSON
{
  "hex": "#171e5c",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 233.913,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27421,
    "c": 0.10988,
    "h": 271.9
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#171E5C
secondary
#938A3C
accent
#D345E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #171E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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