#171C65#171C65

#171C65 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.0% C 0.126 H 272.0°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#171C65
RGBrgb(23, 28, 101)
HSLhsl(236, 63%, 24%)
HSVhsv(236, 77%, 40%)
CMYKcmyk(77.2%, 72.3%, 0%, 60.4%)
CIE-LABlab(15.23, 25.42, -43.41)
CIE-LCHlch(15.23, 50.30, 300.35°)
OKLaboklab(27.97% 0.0045 -0.1255)
OKLCHoklch(27.97% 0.126 272)
XYZxyz(3.1168, 1.9519, 12.5219)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171C65 #656017
analogous
#174365 #171C65 #391765
triadic
#171C65 #65171C #1C6517
tetradic
#171C65 #651743 #656017 #176539
square
#171C65 #651743 #656017 #176539
split-complementary
#171C65 #653917 #436517
monochromatic
#060719 #0C0E33 #171C65 #222A97 #2E38C9

Accessibility & contrast

On white

15.10
#171C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171C65
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171C65#FFFFFF#000000##FFFFFF
##171C651.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171c65;
/* rgb */ color: rgb(23, 28, 101);
/* oklch */ color: oklch(28.0% 0.126 272.0);
Tailwind
colors: {
  custom: {
    50: '#625892',
    500: '#171c65',
    950: '#000000',
  },
}
SCSS
$custom: #171c65;
$custom-light: #625892;
$custom-dark: #000000;
JSON
{
  "hex": "#171c65",
  "rgb": {
    "r": 23,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 236.154,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27968,
    "c": 0.12562,
    "h": 272
  },
  "luminance": 0.01952
}

Semantic roles & 50–950 ramp

primary
#171C65
secondary
#9B953C
accent
#DB42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171C65

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

Preview Lab → · Contrast checker → · Palette generator →

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