#646AF2
Closest named color: Medium Slate Blue (#7B68EE). oklch(59.4% 0.2 276.5), rgb(100, 106, 242).
Aa
Black text reads best on this color (4.88:1).
About this color
#646AF2 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.200 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.033 away. Black text reads best on it, at 4.88:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.200) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 4.88:1 |
| White text | 4.29:1 |
Values
| HEX | #646AF2 |
| RGB | rgb(100, 106, 242) |
| HSL | hsl(237, 85%, 67%) |
| OKLCH | oklch(59.4% 0.2 276.5) |
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 #646AF2 | 4.29:1 | AA large text | Lc -74.8 | Content text, not long reading |
| Black text on #646AF2 | 4.88:1 | AA | Lc 34.7 | Non-text elements, placeholder text |
| #646AF2 text on white | 4.29:1 | AA large text | Lc 69.3 | Content text, not long reading |
| #646AF2 text on black | 4.88:1 | AA | Lc -32.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 500.
-
Step 50
50
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E4E9FD
oklch(93.6% 0.028 274.7)
-
Step 200
200
#CFD7FE
oklch(88.6% 0.054 276.1)
-
Step 300
300
#B0BBFF
oklch(80.8% 0.097 276.9)
-
Step 400
400
#8995FF
oklch(70.7% 0.154 276.8)
-
Step 500
500 (this color)
#646AF2
oklch(59.4% 0.2 276.5)
-
Step 600
600
#595AEE
oklch(55.6% 0.217 276.4)
-
Step 700
700
#4A48D0
oklch(49.1% 0.203 276.5)
-
Step 800
800
#3C3CA8
oklch(42.6% 0.169 276.5)
-
Step 900
900
#323585
oklch(37.6% 0.131 276.4)
-
Step 950
950
#1D204E
oklch(27% 0.083 276.5)
#646AF2 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) | #0080F7 | 0.076 |
| Deuteranopia (no green cones) | #0074EF | 0.071 |
| Tritanopia (no blue cones) | #008AA4 | 0.172 |
| Achromatopsia (no color) | #7A7A7A | 0.201 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #646AF2
#646AF2
oklch(59.4% 0.2 276.5)
- #947D00
#947D00
oklch(59.3% 0.122 96.1)
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 #646AF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.033
- Cornflower #6A79F7 ΔE 0.038
- Neon Blue #4361EE ΔE 0.049
- Royal Blue #4169E1 ΔE 0.050
- Dark Periwinkle #665FD1 ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.063
- Clear Blue #247AFD ΔE 0.063
- Slate Blue #6A5ACD ΔE 0.065
Use #646AF2 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.