#171E69#171E69

#171E69 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.129 H 271.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#171E69
RGBrgb(23, 30, 105)
HSLhsl(235, 64%, 25%)
HSVhsv(235, 78%, 41%)
CMYKcmyk(78.1%, 71.4%, 0%, 58.8%)
CIE-LABlab(16.16, 25.60, -44.52)
CIE-LCHlch(16.16, 51.36, 299.90°)
OKLaboklab(28.76% 0.0027 -0.1288)
OKLCHoklch(28.76% 0.129 271.2)
XYZxyz(3.3666, 2.1303, 13.5956)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E69 #696217
analogous
#174769 #171E69 #391769
triadic
#171E69 #69171E #1E6917
tetradic
#171E69 #691747 #696217 #176939
square
#171E69 #691747 #696217 #176939
split-complementary
#171E69 #693917 #476917
monochromatic
#050719 #0C1037 #171E69 #222C9B #2D3BCD

Accessibility & contrast

On white

14.72
#171E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#171E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E69
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E69#FFFFFF#000000##FFFFFF
##171E691.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171e69;
/* rgb */ color: rgb(23, 30, 105);
/* oklch */ color: oklch(28.8% 0.129 271.2);
Tailwind
colors: {
  custom: {
    50: '#635a95',
    500: '#171e69',
    950: '#000000',
  },
}
SCSS
$custom: #171e69;
$custom-light: #635a95;
$custom-dark: #000000;
JSON
{
  "hex": "#171e69",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 234.878,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28764,
    "c": 0.12882,
    "h": 271.2
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#171E69
secondary
#9F973D
accent
#D941E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171E69

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

Preview Lab → · Contrast checker → · Palette generator →

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