#171D65#171D65

#171D65 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.124 H 271.7°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#171D65
RGBrgb(23, 29, 101)
HSLhsl(235, 63%, 24%)
HSVhsv(235, 77%, 40%)
CMYKcmyk(77.2%, 71.3%, 0%, 60.4%)
CIE-LABlab(15.49, 24.73, -42.99)
CIE-LCHlch(15.49, 49.59, 299.90°)
OKLaboklab(28.15% 0.0038 -0.1243)
OKLCHoklch(28.15% 0.124 271.7)
XYZxyz(3.1409, 2.0002, 12.5299)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D65 #655F17
analogous
#174465 #171D65 #381765
triadic
#171D65 #65171D #1D6517
tetradic
#171D65 #651744 #655F17 #176538
square
#171D65 #651744 #655F17 #176538
split-complementary
#171D65 #653817 #446517
monochromatic
#060719 #0C0F33 #171D65 #222B97 #2E3AC9

Accessibility & contrast

On white

15.00
#171D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#171D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171D65
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D65#FFFFFF#000000##FFFFFF
##171D651.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171d65;
/* rgb */ color: rgb(23, 29, 101);
/* oklch */ color: oklch(28.2% 0.124 271.7);
Tailwind
colors: {
  custom: {
    50: '#625992',
    500: '#171d65',
    950: '#000000',
  },
}
SCSS
$custom: #171d65;
$custom-light: #625992;
$custom-dark: #000000;
JSON
{
  "hex": "#171d65",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 235.385,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28153,
    "c": 0.12437,
    "h": 271.7
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#171D65
secondary
#9B943C
accent
#D942E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171D65

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

Preview Lab → · Contrast checker → · Palette generator →

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