#171C69#171C69

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

Color values

HEX#171C69
RGBrgb(23, 28, 105)
HSLhsl(236, 64%, 25%)
HSVhsv(236, 78%, 41%)
CMYKcmyk(78.1%, 73.3%, 0%, 58.8%)
CIE-LABlab(15.66, 26.96, -45.35)
CIE-LCHlch(15.66, 52.75, 300.73°)
OKLaboklab(28.4% 0.0039 -0.1312)
OKLCHoklch(28.4% 0.131 271.7)
XYZxyz(3.3175, 2.0322, 13.5793)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171C69 #696417
analogous
#174569 #171C69 #3B1769
triadic
#171C69 #69171C #1C6917
tetradic
#171C69 #691745 #696417 #17693B
square
#171C69 #691745 #696417 #17693B
split-complementary
#171C69 #693B17 #456917
monochromatic
#050719 #0C0F37 #171C69 #22299B #2D37CD

Accessibility & contrast

On white

14.93
#171C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171C69
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171C69#FFFFFF#000000##FFFFFF
##171C691.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171c69;
/* rgb */ color: rgb(23, 28, 105);
/* oklch */ color: oklch(28.4% 0.131 271.7);
Tailwind
colors: {
  custom: {
    50: '#635895',
    500: '#171c69',
    950: '#000000',
  },
}
SCSS
$custom: #171c69;
$custom-light: #635895;
$custom-dark: #000000;
JSON
{
  "hex": "#171c69",
  "rgb": {
    "r": 23,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 236.341,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28402,
    "c": 0.13125,
    "h": 271.7
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#171C69
secondary
#9F993D
accent
#DD41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171C69

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

Preview Lab → · Contrast checker → · Palette generator →

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