#171675#171675

#171675 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.154 H 271.7°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#171675
RGBrgb(23, 22, 117)
HSLhsl(241, 68%, 27%)
HSVhsv(241, 81%, 46%)
CMYKcmyk(80.3%, 81.2%, 0%, 54.1%)
CIE-LABlab(15.70, 35.10, -53.08)
CIE-LCHlch(15.70, 63.64, 303.47°)
OKLaboklab(28.84% 0.0047 -0.1537)
OKLCHoklch(28.84% 0.154 271.7)
XYZxyz(3.8501, 2.0399, 17.0170)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171675 #747516
analogous
#164475 #171675 #471675
triadic
#171675 #751716 #167517
tetradic
#171675 #751644 #747516 #167547
square
#171675 #751644 #747516 #167547
split-complementary
#171675 #754716 #447516
monochromatic
#05051A #0D0C41 #171675 #2120A9 #302ED8

Accessibility & contrast

On white

14.91
#171675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#171675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171675
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171675#FFFFFF#000000##FFFFFF
##1716751.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171675;
/* rgb */ color: rgb(23, 22, 117);
/* oklch */ color: oklch(28.8% 0.154 271.7);
Tailwind
colors: {
  custom: {
    50: '#67559e',
    500: '#171675',
    950: '#000000',
  },
}
SCSS
$custom: #171675;
$custom-light: #67559e;
$custom-dark: #000000;
JSON
{
  "hex": "#171675",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 240.632,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28837,
    "c": 0.15373,
    "h": 271.7
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#171675
secondary
#A9AB3C
accent
#EB3DE9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171675

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

Preview Lab → · Contrast checker → · Palette generator →

#171675 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva