#5F6AF4
Closest named color: Medium Slate Blue (#7B68EE). oklch(59.2% 0.204 274.9), rgb(95, 106, 244).
Aa
Black text reads best on this color (4.85:1).
About this color
#5F6AF4 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.204 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.040 away. Black text reads best on it, at 4.85:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.204) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 4.85:1 |
| White text | 4.32:1 |
Values
| HEX | #5F6AF4 |
| RGB | rgb(95, 106, 244) |
| HSL | hsl(236, 87%, 66%) |
| OKLCH | oklch(59.2% 0.204 274.9) |
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 #5F6AF4 | 4.32:1 | AA large text | Lc -75.0 | Fine for body text |
| Black text on #5F6AF4 | 4.85:1 | AA | Lc 34.6 | Non-text elements, placeholder text |
| #5F6AF4 text on white | 4.32:1 | AA large text | Lc 69.5 | Content text, not long reading |
| #5F6AF4 text on black | 4.85:1 | AA | Lc -32.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 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
#AFBCFC
oklch(80.8% 0.092 275.3)
-
Step 400
400
#8697FB
oklch(70.6% 0.147 274.7)
-
Step 500
500
#6B79F8
oklch(63% 0.188 274.9)
-
Step 600
600 (this color)
#5F6AF4
oklch(59.2% 0.204 274.9)
-
Step 700
700
#474DC9
oklch(49.2% 0.189 274.9)
-
Step 800
800
#3A40A3
oklch(42.8% 0.157 274.9)
-
Step 900
900
#313881
oklch(37.8% 0.122 274.9)
-
Step 950
950
#1C214C
oklch(27% 0.079 274.8)
#5F6AF4 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) | #0080F9 | 0.072 |
| Deuteranopia (no green cones) | #0073F1 | 0.064 |
| Tritanopia (no blue cones) | #008BA5 | 0.173 |
| Achromatopsia (no color) | #797979 | 0.205 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F6AF4
#5F6AF4
oklch(59.2% 0.204 274.9)
- #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 #5F6AF4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.040
- Cornflower #6A79F7 ΔE 0.040
- Neon Blue #4361EE ΔE 0.043
- Royal Blue #4169E1 ΔE 0.046
- Dark Periwinkle #665FD1 ΔE 0.057
- Clear Blue #247AFD ΔE 0.058
- Cerulean Blue #056EEE ΔE 0.065
- Warm Blue #4B57DB ΔE 0.066
Use #5F6AF4 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.