#171667#171667

#171667 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.135 H 273.2°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#171667
RGBrgb(23, 22, 103)
HSLhsl(241, 65%, 25%)
HSVhsv(241, 79%, 40%)
CMYKcmyk(77.7%, 78.6%, 0%, 59.6%)
CIE-LABlab(14.03, 30.10, -46.71)
CIE-LCHlch(14.03, 55.57, 302.80°)
OKLaboklab(27.17% 0.0077 -0.1351)
OKLCHoklch(27.17% 0.135 273.2)
XYZxyz(3.0876, 1.7349, 13.0015)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171667 #666716
analogous
#163E67 #171667 #401667
triadic
#171667 #671716 #166717
tetradic
#171667 #67163E #666716 #166740
square
#171667 #67163E #666716 #166740
split-complementary
#171667 #674016 #3E6716
monochromatic
#060519 #0C0B35 #171667 #222199 #2E2CCC

Accessibility & contrast

On white

15.59
#171667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#171667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171667
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171667#FFFFFF#000000##FFFFFF
##1716671.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171667;
/* rgb */ color: rgb(23, 22, 103);
/* oklch */ color: oklch(27.2% 0.135 273.2);
Tailwind
colors: {
  custom: {
    50: '#635493',
    500: '#171667',
    950: '#000000',
  },
}
SCSS
$custom: #171667;
$custom-light: #635493;
$custom-dark: #000000;
JSON
{
  "hex": "#171667",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 240.741,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27172,
    "c": 0.13537,
    "h": 273.2
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#171667
secondary
#9C9E3B
accent
#E840E6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171667

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

Preview Lab → · Contrast checker → · Palette generator →

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