#838FD2
Closest named color: Perrywinkle (#8F8CE7). oklch(66.7% 0.1 275.6), rgb(131, 143, 210).
Aa
Black text reads best on this color (6.82:1).
About this color
#838FD2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.100 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.038 away. Black text reads best on it, at 6.82:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.100) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 6.82:1 |
| White text | 3.07:1 |
Values
| HEX | #838FD2 |
| RGB | rgb(131, 143, 210) |
| HSL | hsl(231, 47%, 67%) |
| OKLCH | oklch(66.7% 0.1 275.6) |
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 #838FD2 | 3.07:1 | AA large text | Lc -63.0 | Content text, not long reading |
| Black text on #838FD2 | 6.82:1 | AA | Lc 46.4 | Large or bold text, headings |
| #838FD2 text on white | 3.07:1 | AA large text | Lc 57.6 | Large or bold text, headings |
| #838FD2 text on black | 6.82:1 | AA | Lc -44.1 | 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 500.
-
Step 50
50
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E7E9F4
oklch(93.6% 0.015 277.8)
-
Step 200
200
#D4D8EC
oklch(88.5% 0.028 276.8)
-
Step 300
300
#B7BFE1
oklch(81% 0.049 274.8)
-
Step 400
400
#929DD2
oklch(70.7% 0.079 275.1)
-
Step 500
500 (this color)
#838FD2
oklch(66.7% 0.1 275.6)
-
Step 600
600
#626DB3
oklch(55.7% 0.109 275.5)
-
Step 700
700
#515A9A
oklch(49% 0.103 275.9)
-
Step 800
800
#424A7D
oklch(42.7% 0.085 275.5)
-
Step 900
900
#383E64
oklch(37.7% 0.065 276)
-
Step 950
950
#21253B
oklch(27.2% 0.041 275.4)
#838FD2 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) | #7996D5 | 0.021 |
| Deuteranopia (no green cones) | #7390D0 | 0.021 |
| Tritanopia (no blue cones) | #6C9CA7 | 0.089 |
| Achromatopsia (no color) | #939393 | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #838FD2
#838FD2
oklch(66.7% 0.1 275.6)
- #A79446
#A79446
oklch(66.7% 0.101 95.8)
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 #838FD2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.038
- Cornflower Blue #6495ED ΔE 0.051
- Faded Blue #658CBB ΔE 0.054
- Soft Blue #6488EA ΔE 0.059
- Lavender Blue #8B88F8 ΔE 0.065
- Periwinkle Blue #8F99FB ΔE 0.065
- Silver Lake Blue #778DA9 ΔE 0.065
- Wisteria #A87DC2 ΔE 0.067
Use #838FD2 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.