#171D67#171D67

#171D67 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.127 H 271.6°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#171D67
RGBrgb(23, 29, 103)
HSLhsl(236, 63%, 25%)
HSVhsv(236, 78%, 40%)
CMYKcmyk(77.7%, 71.8%, 0%, 59.6%)
CIE-LABlab(15.69, 25.51, -43.97)
CIE-LCHlch(15.69, 50.83, 300.12°)
OKLaboklab(28.37% 0.0036 -0.1272)
OKLCHoklch(28.37% 0.127 271.6)
XYZxyz(3.2401, 2.0398, 13.0523)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D67 #676117
analogous
#174567 #171D67 #391767
triadic
#171D67 #67171D #1D6717
tetradic
#171D67 #671745 #676117 #176739
square
#171D67 #671745 #676117 #176739
split-complementary
#171D67 #673917 #456717
monochromatic
#060719 #0C0F35 #171D67 #222B99 #2D39CB

Accessibility & contrast

On white

14.91
#171D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#171D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171D67
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D67#FFFFFF#000000##FFFFFF
##171D671.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171d67;
/* rgb */ color: rgb(23, 29, 103);
/* oklch */ color: oklch(28.4% 0.127 271.6);
Tailwind
colors: {
  custom: {
    50: '#625993',
    500: '#171d67',
    950: '#000000',
  },
}
SCSS
$custom: #171d67;
$custom-light: #625993;
$custom-dark: #000000;
JSON
{
  "hex": "#171d67",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 235.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28366,
    "c": 0.12722,
    "h": 271.6
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#171D67
secondary
#9D963D
accent
#DA41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171D67

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

Preview Lab → · Contrast checker → · Palette generator →

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