#171A5D#171A5D

#171A5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.117 H 273.3°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#171A5D
RGBrgb(23, 26, 93)
HSLhsl(237, 60%, 23%)
HSVhsv(237, 75%, 36%)
CMYKcmyk(75.3%, 72%, 0%, 63.5%)
CIE-LABlab(13.89, 23.68, -40.30)
CIE-LCHlch(13.89, 46.74, 300.44°)
OKLaboklab(26.74% 0.0068 -0.1165)
OKLCHoklch(26.74% 0.117 273.3)
XYZxyz(2.6979, 1.7110, 10.5419)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A5D #5D5A17
analogous
#173D5D #171A5D #37175D
triadic
#171A5D #5D171A #1A5D17
tetradic
#171A5D #5D173D #5D5A17 #175D37
square
#171A5D #5D173D #5D5A17 #175D37
split-complementary
#171A5D #5D3717 #3D5D17
monochromatic
#060719 #0B0C2C #171A5D #23288E #2F35BF

Accessibility & contrast

On white

15.65
#171A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#171A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A5D
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A5D#FFFFFF#000000##FFFFFF
##171A5D1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171a5d;
/* rgb */ color: rgb(23, 26, 93);
/* oklch */ color: oklch(26.7% 0.117 273.3);
Tailwind
colors: {
  custom: {
    50: '#60568c',
    500: '#171a5d',
    950: '#000000',
  },
}
SCSS
$custom: #171a5d;
$custom-light: #60568c;
$custom-dark: #000000;
JSON
{
  "hex": "#171a5d",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 237.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26742,
    "c": 0.11666,
    "h": 273.3
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#171A5D
secondary
#94903C
accent
#DD44E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #171A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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