#5C7FEF
Closest named color: Cornflower (#6A79F7). oklch(62.7% 0.172 268.1), rgb(92, 127, 239).
Aa
Black text reads best on this color (5.73:1).
About this color
#5C7FEF is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.172 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.025 away. Black text reads best on it, at 5.73:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.172) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.73:1 |
| White text | 3.66:1 |
Values
| HEX | #5C7FEF |
| RGB | rgb(92, 127, 239) |
| HSL | hsl(226, 82%, 65%) |
| OKLCH | oklch(62.7% 0.172 268.1) |
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 #5C7FEF | 3.66:1 | AA large text | Lc -69.4 | Content text, not long reading |
| Black text on #5C7FEF | 5.73:1 | AA | Lc 40.2 | Non-text elements, placeholder text |
| #5C7FEF text on white | 3.66:1 | AA large text | Lc 63.9 | Content text, not long reading |
| #5C7FEF text on black | 5.73:1 | AA | Lc -37.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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFB
oklch(93.7% 0.024 267.9)
-
Step 200
200
#CCD9F9
oklch(88.6% 0.046 267.9)
-
Step 300
300
#A9BFF8
oklch(80.8% 0.085 268.1)
-
Step 400
400
#7D9CF5
oklch(70.7% 0.135 268.3)
-
Step 500
500 (this color)
#5C7FEF
oklch(62.7% 0.172 268.1)
-
Step 600
600
#4567DF
oklch(55.6% 0.187 267.9)
-
Step 700
700
#3854C2
oklch(49.1% 0.175 268.4)
-
Step 800
800
#2E469D
oklch(42.8% 0.144 268.1)
-
Step 900
900
#283C7C
oklch(37.7% 0.111 267.7)
-
Step 950
950
#182449
oklch(27.2% 0.071 268)
#5C7FEF 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) | #478DF3 | 0.037 |
| Deuteranopia (no green cones) | #2C7FED | 0.041 |
| Tritanopia (no blue cones) | #0099AB | 0.148 |
| Achromatopsia (no color) | #868686 | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5C7FEF
#5C7FEF
oklch(62.7% 0.172 268.1)
- #A88200
#A88200
oklch(62.6% 0.128 87.9)
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 #5C7FEF, closest first.
No curated palette has a color within ΔE 0.04 of #5C7FEF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.025
- Soft Blue #6488EA ΔE 0.028
- Dark Sky Blue #448EE4 ΔE 0.048
- Clear Blue #247AFD ΔE 0.053
- Dodger Blue #1E90FF ΔE 0.056
- Chefchaouen Blue #4895EF ΔE 0.057
- Cornflower Blue #6495ED ΔE 0.060
- Medium Slate Blue #7B68EE ΔE 0.063
Use #5C7FEF 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.