#171E5E#171E5E

#171E5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.113 H 271.8°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#171E5E
RGBrgb(23, 30, 94)
HSLhsl(234, 61%, 23%)
HSVhsv(234, 76%, 37%)
CMYKcmyk(75.5%, 68.1%, 0%, 63.1%)
CIE-LABlab(15.05, 21.25, -39.06)
CIE-LCHlch(15.05, 44.47, 298.55°)
OKLaboklab(27.62% 0.0036 -0.1128)
OKLCHoklch(27.62% 0.113 271.8)
XYZxyz(2.8373, 1.9186, 10.8083)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E5E #5E5717
analogous
#17415E #171E5E #34175E
triadic
#171E5E #5E171E #1E5E17
tetradic
#171E5E #5E1741 #5E5717 #175E34
square
#171E5E #5E1741 #5E5717 #175E34
split-complementary
#171E5E #5E3417 #415E17
monochromatic
#060819 #0B0E2D #171E5E #232E8F #2F3DC0

Accessibility & contrast

On white

15.18
#171E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171E5E
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E5E#FFFFFF#000000##FFFFFF
##171E5E1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171e5e;
/* rgb */ color: rgb(23, 30, 94);
/* oklch */ color: oklch(27.6% 0.113 271.8);
Tailwind
colors: {
  custom: {
    50: '#60598c',
    500: '#171e5e',
    950: '#000000',
  },
}
SCSS
$custom: #171e5e;
$custom-light: #60598c;
$custom-dark: #000000;
JSON
{
  "hex": "#171e5e",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 234.085,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27622,
    "c": 0.11287,
    "h": 271.8
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#171E5E
secondary
#958C3C
accent
#D444E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #171E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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