#838CDC
Closest named color: Perrywinkle (#8F8CE7). oklch(66.6% 0.119 277.8), rgb(131, 140, 220).
Aa
Black text reads best on this color (6.74:1).
About this color
#838CDC is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.119 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.024 away. Black text reads best on it, at 6.74:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.119) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 6.74:1 |
| White text | 3.11:1 |
Values
| HEX | #838CDC |
| RGB | rgb(131, 140, 220) |
| HSL | hsl(234, 56%, 69%) |
| OKLCH | oklch(66.6% 0.119 277.8) |
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 #838CDC | 3.11:1 | AA large text | Lc -63.4 | Content text, not long reading |
| Black text on #838CDC | 6.74:1 | AA | Lc 46.0 | Large or bold text, headings |
| #838CDC text on white | 3.11:1 | AA large text | Lc 58.0 | Large or bold text, headings |
| #838CDC text on black | 6.74:1 | AA | Lc -43.7 | 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
#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
#B7BEE7
oklch(81% 0.058 277.4)
-
Step 400
400
#929BDA
oklch(70.6% 0.093 277.5)
-
Step 500
500 (this color)
#838CDC
oklch(66.6% 0.119 277.8)
-
Step 600
600
#6269BD
oklch(55.5% 0.129 277.7)
-
Step 700
700
#5257A3
oklch(49% 0.12 278.1)
-
Step 800
800
#434884
oklch(42.7% 0.099 277.8)
-
Step 900
900
#383D6A
oklch(37.8% 0.077 277.3)
-
Step 950
950
#21243E
oklch(27.1% 0.048 277.6)
#838CDC 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) | #7196DF | 0.032 |
| Deuteranopia (no green cones) | #6B8FDA | 0.031 |
| Tritanopia (no blue cones) | #679CAA | 0.105 |
| Achromatopsia (no color) | #929292 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #838CDC
#838CDC
oklch(66.6% 0.119 277.8)
- #A89431
#A89431
oklch(66.6% 0.118 97.6)
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 #838CDC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.024
- Cornflower Blue #6495ED ΔE 0.044
- Soft Blue #6488EA ΔE 0.047
- Lavender Blue #8B88F8 ΔE 0.047
- Periwinkle Blue #8F99FB ΔE 0.056
- Periwinkle #8E82FE ΔE 0.062
- Faded Blue #658CBB ΔE 0.065
- Chefchaouen Blue #4895EF ΔE 0.066
Use #838CDC 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.