#5F6AF5
Closest named color: Cornflower (#6A79F7). oklch(59.3% 0.205 274.8), rgb(95, 106, 245).
Aa
Black text reads best on this color (4.86:1).
About this color
#5F6AF5 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.205 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.040 away. Black text reads best on it, at 4.86:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.205) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 4.86:1 |
| White text | 4.31:1 |
Values
| HEX | #5F6AF5 |
| RGB | rgb(95, 106, 245) |
| HSL | hsl(236, 88%, 67%) |
| OKLCH | oklch(59.3% 0.205 274.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 #5F6AF5 | 4.31:1 | AA large text | Lc -74.9 | Content text, not long reading |
| Black text on #5F6AF5 | 4.86:1 | AA | Lc 34.6 | Non-text elements, placeholder text |
| #5F6AF5 text on white | 4.31:1 | AA large text | Lc 69.4 | Content text, not long reading |
| #5F6AF5 text on black | 4.86:1 | AA | Lc -32.2 | 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 600.
-
Step 50
50
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E4E9FC
oklch(93.6% 0.026 274.1)
-
Step 200
200
#CFD7FC
oklch(88.5% 0.052 275.7)
-
Step 300
300
#AFBCFD
oklch(80.9% 0.093 275.4)
-
Step 400
400
#8697FC
oklch(70.7% 0.148 274.7)
-
Step 500
500
#6B79F9
oklch(63% 0.189 274.9)
-
Step 600
600 (this color)
#5F6AF5
oklch(59.3% 0.205 274.8)
-
Step 700
700
#464CCA
oklch(49% 0.192 274.7)
-
Step 800
800
#3940A3
oklch(42.7% 0.157 274.5)
-
Step 900
900
#313781
oklch(37.6% 0.123 275.3)
-
Step 950
950
#1C214C
oklch(27% 0.079 274.8)
#5F6AF5 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) | #0080FA | 0.071 |
| Deuteranopia (no green cones) | #0073F2 | 0.064 |
| Tritanopia (no blue cones) | #008BA5 | 0.174 |
| Achromatopsia (no color) | #7A7A7A | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F6AF5
#5F6AF5
oklch(59.3% 0.205 274.8)
- #957C00
#957C00
oklch(59.2% 0.122 94.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 #5F6AF5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.040
- Medium Slate Blue #7B68EE ΔE 0.041
- Neon Blue #4361EE ΔE 0.044
- Royal Blue #4169E1 ΔE 0.047
- Clear Blue #247AFD ΔE 0.058
- Dark Periwinkle #665FD1 ΔE 0.059
- Cerulean Blue #056EEE ΔE 0.066
- Warm Blue #4B57DB ΔE 0.067
Use #5F6AF5 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.