#6871C6
Closest named color: Dark Periwinkle (#665FD1). oklch(58.1% 0.13 277), rgb(104, 113, 198).
Aa
Black text reads best on this color (4.76:1).
About this color
#6871C6 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.130 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.051 away. Black text reads best on it, at 4.76:1.
| Hue family | Blues |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.130) |
| Temperature | cool |
| Nearest name | Dark Periwinkle (#665FD1) |
| Black text | 4.76:1 |
| White text | 4.40:1 |
Values
| HEX | #6871C6 |
| RGB | rgb(104, 113, 198) |
| HSL | hsl(234, 45%, 59%) |
| OKLCH | oklch(58.1% 0.13 277) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #6871C6 | 4.40:1 | AA large text | Lc -75.9 | Fine for body text |
| Black text on #6871C6 | 4.76:1 | AA | Lc 33.7 | Non-text elements, placeholder text |
| #6871C6 text on white | 4.40:1 | AA large text | Lc 70.4 | Content text, not long reading |
| #6871C6 text on black | 4.76:1 | AA | Lc -31.3 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E7E9F5
oklch(93.6% 0.016 278.5)
-
Step 200
200
#D3D8EF
oklch(88.5% 0.032 276)
-
Step 300
300
#B6BEE7
oklch(80.9% 0.059 276.4)
-
Step 400
400
#929BDB
oklch(70.7% 0.094 277.5)
-
Step 500
500
#7881D1
oklch(63% 0.12 277.5)
-
Step 600
600 (this color)
#6871C6
oklch(58.1% 0.13 277)
-
Step 700
700
#5158A4
oklch(49.2% 0.12 277)
-
Step 800
800
#424885
oklch(42.7% 0.1 277)
-
Step 900
900
#373D6A
oklch(37.7% 0.077 276.3)
-
Step 950
950
#20243E
oklch(27% 0.049 276)
#6871C6 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #507CC9 | 0.038 |
| Deuteranopia (no green cones) | #4875C4 | 0.039 |
| Tritanopia (no blue cones) | #458392 | 0.115 |
| Achromatopsia (no color) | #787878 | 0.130 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6871C6
#6871C6
oklch(58.1% 0.13 277)
- #8F7A00
#8F7A00
oklch(58.2% 0.12 97)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #6871C6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Periwinkle #665FD1 ΔE 0.051
- Windows Blue #3778BF ΔE 0.056
- Slate Blue #6A5ACD ΔE 0.060
- Light Indigo #6D5ACF ΔE 0.060
- French Blue #436BAD ΔE 0.064
- Iris #6258C4 ΔE 0.065
- Cool Blue #4984B8 ΔE 0.068
- Royal Blue #4169E1 ΔE 0.068
Use #6871C6 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.