#5A74FC
Closest named color: Cornflower (#6A79F7). oklch(61.3% 0.204 271), rgb(90, 116, 252).
Aa
Black text reads best on this color (5.33:1).
About this color
#5A74FC is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.204 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.026 away. Black text reads best on it, at 5.33:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.204) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.33:1 |
| White text | 3.93:1 |
Values
| HEX | #5A74FC |
| RGB | rgb(90, 116, 252) |
| HSL | hsl(230, 96%, 67%) |
| OKLCH | oklch(61.3% 0.204 271) |
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 #5A74FC | 3.93:1 | AA large text | Lc -71.8 | Content text, not long reading |
| Black text on #5A74FC | 5.33:1 | AA | Lc 37.8 | Non-text elements, placeholder text |
| #5A74FC text on white | 3.93:1 | AA large text | Lc 66.3 | Content text, not long reading |
| #5A74FC text on black | 5.33:1 | AA | Lc -35.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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2E9FE
oklch(93.5% 0.029 271.1)
-
Step 200
200
#CBD8FF
oklch(88.5% 0.056 270.7)
-
Step 300
300
#AABEFF
oklch(81% 0.095 271)
-
Step 400
400
#7E99FF
oklch(70.7% 0.152 270.9)
-
Step 500
500 (this color)
#5A74FC
oklch(61.3% 0.204 271)
-
Step 600
600
#495EF2
oklch(55.7% 0.221 271)
-
Step 700
700
#3B4CD3
oklch(49.2% 0.206 271)
-
Step 800
800
#303FAA
oklch(42.6% 0.171 271)
-
Step 900
900
#2A3887
oklch(37.9% 0.132 271.1)
-
Step 950
950
#18214F
oklch(26.9% 0.085 271.3)
#5A74FC 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) | #0088FF | 0.063 |
| Deuteranopia (no green cones) | #0079F9 | 0.054 |
| Tritanopia (no blue cones) | #0094AD | 0.168 |
| Achromatopsia (no color) | #808080 | 0.204 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A74FC
#5A74FC
oklch(61.3% 0.204 271)
- #A08000
#A08000
oklch(61.3% 0.125 91.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 #5A74FC, closest first.
No curated palette has a color within ΔE 0.04 of #5A74FC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.026
- Clear Blue #247AFD ΔE 0.043
- Medium Slate Blue #7B68EE ΔE 0.052
- Royal Blue #4169E1 ΔE 0.058
- Neon Blue #4361EE ΔE 0.059
- Soft Blue #6488EA ΔE 0.062
- Cerulean Blue #056EEE ΔE 0.066
- Dodger Blue #1E90FF ΔE 0.073
Use #5A74FC 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.