#6A7DEF
Closest named color: Cornflower (#6A79F7). oklch(63.1% 0.171 273.4), rgb(106, 125, 239).
Aa
Black text reads best on this color (5.79:1).
About this color
#6A7DEF is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.171 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.016 away. Black text reads best on it, at 5.79:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.171) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.79:1 |
| White text | 3.62:1 |
Values
| HEX | #6A7DEF |
| RGB | rgb(106, 125, 239) |
| HSL | hsl(231, 81%, 68%) |
| OKLCH | oklch(63.1% 0.171 273.4) |
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 #6A7DEF | 3.62:1 | AA large text | Lc -69.1 | Content text, not long reading |
| Black text on #6A7DEF | 5.79:1 | AA | Lc 40.5 | Non-text elements, placeholder text |
| #6A7DEF text on white | 3.62:1 | AA large text | Lc 63.6 | Content text, not long reading |
| #6A7DEF text on black | 5.79:1 | AA | Lc -38.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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CFD8F9
oklch(88.6% 0.047 273.4)
-
Step 300
300
#AFBDF7
oklch(80.8% 0.084 273.9)
-
Step 400
400
#8699F3
oklch(70.6% 0.133 273.5)
-
Step 500
500 (this color)
#6A7DEF
oklch(63.1% 0.171 273.4)
-
Step 600
600
#5463DE
oklch(55.6% 0.186 273.5)
-
Step 700
700
#4551C0
oklch(49% 0.172 273.5)
-
Step 800
800
#38439C
oklch(42.7% 0.144 273.3)
-
Step 900
900
#303A7C
oklch(37.8% 0.112 273.4)
-
Step 950
950
#1C2248
oklch(26.9% 0.07 274)
#6A7DEF 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) | #468CF3 | 0.048 |
| Deuteranopia (no green cones) | #3381ED | 0.052 |
| Tritanopia (no blue cones) | #1B96AB | 0.150 |
| Achromatopsia (no color) | #868686 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6A7DEF
#6A7DEF
oklch(63.1% 0.171 273.4)
- #A48700
#A48700
oklch(63.2% 0.129 93.7)
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 #6A7DEF, closest first.
No curated palette has a color within ΔE 0.04 of #6A7DEF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.016
- Soft Blue #6488EA ΔE 0.030
- Medium Slate Blue #7B68EE ΔE 0.052
- Lavender Blue #8B88F8 ΔE 0.056
- Periwinkle #8E82FE ΔE 0.057
- Dark Sky Blue #448EE4 ΔE 0.059
- Cornflower Blue #6495ED ΔE 0.062
- Chefchaouen Blue #4895EF ΔE 0.066
Use #6A7DEF 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.