#5791F7
Closest named color: Chefchaouen Blue (#4895EF). oklch(66.6% 0.164 260.9), rgb(87, 145, 247).
Aa
Black text reads best on this color (6.79:1).
About this color
#5791F7 is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.164 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.021 away. Black text reads best on it, at 6.79:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.164) |
| Temperature | cool |
| Nearest name | Chefchaouen Blue (#4895EF) |
| Black text | 6.79:1 |
| White text | 3.08:1 |
Values
| HEX | #5791F7 |
| RGB | rgb(87, 145, 247) |
| HSL | hsl(218, 91%, 65%) |
| OKLCH | oklch(66.6% 0.164 260.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 #5791F7 | 3.08:1 | AA large text | Lc -62.9 | Content text, not long reading |
| Black text on #5791F7 | 6.79:1 | AA | Lc 46.5 | Large or bold text, headings |
| #5791F7 text on white | 3.08:1 | AA large text | Lc 57.5 | Large or bold text, headings |
| #5791F7 text on black | 6.79:1 | AA | Lc -44.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 500.
-
Step 50
50
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E1EAFA
oklch(93.5% 0.024 262.1)
-
Step 200
200
#C9DAF7
oklch(88.5% 0.044 261.2)
-
Step 300
300
#A3C2F5
oklch(80.9% 0.08 260.3)
-
Step 400
400
#72A0F0
oklch(70.7% 0.128 260.9)
-
Step 500
500 (this color)
#5791F7
oklch(66.6% 0.164 260.9)
-
Step 600
600
#306DD9
oklch(55.5% 0.178 260.8)
-
Step 700
700
#235ABD
oklch(49% 0.167 261.1)
-
Step 800
800
#1E4A99
oklch(42.6% 0.138 261)
-
Step 900
900
#1E3F79
oklch(37.7% 0.106 260.8)
-
Step 950
950
#122547
oklch(26.9% 0.068 261.1)
#5791F7 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) | #629BFB | 0.030 |
| Deuteranopia (no green cones) | #498CF5 | 0.020 |
| Tritanopia (no blue cones) | #00A8B8 | 0.134 |
| Achromatopsia (no color) | #939393 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5791F7
#5791F7
oklch(66.6% 0.164 260.9)
- #BF8900
#BF8900
oklch(66.6% 0.138 80.6)
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 #5791F7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chefchaouen Blue #4895EF ΔE 0.021
- Cornflower Blue #6495ED ΔE 0.024
- Soft Blue #6488EA ΔE 0.028
- Dark Sky Blue #448EE4 ΔE 0.035
- Dodger Blue #1E90FF ΔE 0.038
- Cornflower #6A79F7 ΔE 0.061
- Lavender Blue #8B88F8 ΔE 0.063
- Perrywinkle #8F8CE7 ΔE 0.068
Use #5791F7 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.