#171E64#171E64

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

Color values

HEX#171E64
RGBrgb(23, 30, 100)
HSLhsl(235, 63%, 24%)
HSVhsv(235, 77%, 39%)
CMYKcmyk(77%, 70%, 0%, 60.8%)
CIE-LABlab(15.65, 23.64, -42.07)
CIE-LCHlch(15.65, 48.26, 299.33°)
OKLaboklab(28.24% 0.0032 -0.1216)
OKLCHoklch(28.24% 0.122 271.5)
XYZxyz(3.1171, 2.0305, 12.2818)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E64 #645D17
analogous
#174564 #171E64 #371764
triadic
#171E64 #64171E #1E6417
tetradic
#171E64 #641745 #645D17 #176437
square
#171E64 #641745 #645D17 #176437
split-complementary
#171E64 #643717 #456417
monochromatic
#060719 #0C0F32 #171E64 #222D96 #2E3CC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##171E64#FFFFFF#000000##FFFFFF
##171E641.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)
#002B66
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171e64;
/* rgb */ color: rgb(23, 30, 100);
/* oklch */ color: oklch(28.2% 0.122 271.5);
Tailwind
colors: {
  custom: {
    50: '#615a91',
    500: '#171e64',
    950: '#000000',
  },
}
SCSS
$custom: #171e64;
$custom-light: #615a91;
$custom-dark: #000000;
JSON
{
  "hex": "#171e64",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 234.545,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28237,
    "c": 0.12166,
    "h": 271.5
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#171E64
secondary
#9A923C
accent
#D742E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171E64

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

Preview Lab → · Contrast checker → · Palette generator →

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