#171D69#171D69

#171D69 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.130 H 271.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#171D69
RGBrgb(23, 29, 105)
HSLhsl(236, 64%, 25%)
HSVhsv(236, 78%, 41%)
CMYKcmyk(78.1%, 72.4%, 0%, 58.8%)
CIE-LABlab(15.90, 26.28, -44.94)
CIE-LCHlch(15.90, 52.06, 300.32°)
OKLaboklab(28.58% 0.0033 -0.13)
OKLCHoklch(28.58% 0.13 271.5)
XYZxyz(3.3417, 2.0805, 13.5873)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D69 #696317
analogous
#174669 #171D69 #3A1769
triadic
#171D69 #69171D #1D6917
tetradic
#171D69 #691746 #696317 #17693A
square
#171D69 #691746 #696317 #17693A
split-complementary
#171D69 #693A17 #466917
monochromatic
#050719 #0C0F37 #171D69 #222B9B #2D39CD

Accessibility & contrast

On white

14.83
#171D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#171D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171D69
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D69#FFFFFF#000000##FFFFFF
##171D691.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171d69;
/* rgb */ color: rgb(23, 29, 105);
/* oklch */ color: oklch(28.6% 0.130 271.5);
Tailwind
colors: {
  custom: {
    50: '#635995',
    500: '#171d69',
    950: '#000000',
  },
}
SCSS
$custom: #171d69;
$custom-light: #635995;
$custom-dark: #000000;
JSON
{
  "hex": "#171d69",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 105
  },
  "hsl": {
    "h": 235.61,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28581,
    "c": 0.13004,
    "h": 271.5
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#171D69
secondary
#9F983D
accent
#DB41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171D69

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

Preview Lab → · Contrast checker → · Palette generator →

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