#6271E2
Closest named color: Cornflower (#6A79F7). oklch(59.4% 0.17 274.3), rgb(98, 113, 226).
Aa
Black text reads best on this color (4.97:1).
About this color
#6271E2 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.170 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.038 away. Black text reads best on it, at 4.97:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.170) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 4.97:1 |
| White text | 4.21:1 |
Values
| HEX | #6271E2 |
| RGB | rgb(98, 113, 226) |
| HSL | hsl(233, 69%, 64%) |
| OKLCH | oklch(59.4% 0.17 274.3) |
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 #6271E2 | 4.21:1 | AA large text | Lc -74.3 | Content text, not long reading |
| Black text on #6271E2 | 4.97:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #6271E2 text on white | 4.21:1 | AA large text | Lc 68.8 | Content text, not long reading |
| #6271E2 text on black | 4.97:1 | AA | Lc -32.8 | 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
#E5E9FB
oklch(93.6% 0.025 275.9)
-
Step 200
200
#CFD8F9
oklch(88.6% 0.047 273.4)
-
Step 300
300
#B0BDF7
oklch(80.9% 0.083 274.6)
-
Step 400
400
#8899F3
oklch(70.7% 0.133 274.4)
-
Step 500
500 (this color)
#6271E2
oklch(59.4% 0.17 274.3)
-
Step 600
600
#5663DD
oklch(55.7% 0.184 274.2)
-
Step 700
700
#4751C0
oklch(49.2% 0.172 274.3)
-
Step 800
800
#3A439B
oklch(42.7% 0.142 274.3)
-
Step 900
900
#31397B
oklch(37.6% 0.111 274.5)
-
Step 950
950
#1D2248
oklch(27% 0.07 275)
#6271E2 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) | #3681E6 | 0.053 |
| Deuteranopia (no green cones) | #1F76E0 | 0.059 |
| Tritanopia (no blue cones) | #0F8B9F | 0.151 |
| Achromatopsia (no color) | #7B7B7B | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6271E2
#6271E2
oklch(59.4% 0.17 274.3)
- #967C00
#967C00
oklch(59.3% 0.122 94.2)
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 #6271E2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.038
- Medium Slate Blue #7B68EE ΔE 0.044
- Royal Blue #4169E1 ΔE 0.046
- Dark Periwinkle #665FD1 ΔE 0.048
- Soft Blue #6488EA ΔE 0.059
- Light Indigo #6D5ACF ΔE 0.060
- Slate Blue #6A5ACD ΔE 0.061
- Neon Blue #4361EE ΔE 0.061
Use #6271E2 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.