#5795FF
Closest named color: Chefchaouen Blue (#4895EF). oklch(67.9% 0.17 260.4), rgb(87, 149, 255).
Aa
Black text reads best on this color (7.14:1).
About this color
#5795FF is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.170 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.028 away. Black text reads best on it, at 7.14:1.
| Hue family | Blues |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.170) |
| Temperature | cool |
| Nearest name | Chefchaouen Blue (#4895EF) |
| Black text | 7.14:1 |
| White text | 2.93:1 |
Values
| HEX | #5795FF |
| RGB | rgb(87, 149, 255) |
| HSL | hsl(218, 100%, 67%) |
| OKLCH | oklch(67.9% 0.17 260.4) |
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 #5795FF | 2.93:1 | Fails | Lc -60.9 | Content text, not long reading |
| Black text on #5795FF | 7.14:1 | AAA | Lc 48.5 | Large or bold text, headings |
| #5795FF text on white | 2.93:1 | Fails | Lc 55.5 | Large or bold text, headings |
| #5795FF text on black | 7.14:1 | AAA | Lc -46.3 | Large or bold text, headings |
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 400.
-
Step 50
50
#F0F6FF
oklch(97.1% 0.014 258.3)
-
Step 100
100
#DEEBFF
oklch(93.6% 0.031 258.9)
-
Step 200
200
#C4DAFF
oklch(88.4% 0.057 260.8)
-
Step 300
300
#9DC2FF
oklch(81% 0.096 260.2)
-
Step 400
400 (this color)
#5795FF
oklch(67.9% 0.17 260.4)
-
Step 500
500
#3A83FF
oklch(63.1% 0.199 260.3)
-
Step 600
600
#0066F7
oklch(55.7% 0.231 260.3)
-
Step 700
700
#0055D2
oklch(49.1% 0.205 260.4)
-
Step 800
800
#0045AE
oklch(42.7% 0.178 260.4)
-
Step 900
900
#0B3B8B
oklch(37.6% 0.142 260.6)
-
Step 950
950
#092451
oklch(27.1% 0.089 260.2)
#5795FF 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) | #639FFF | 0.030 |
| Deuteranopia (no green cones) | #488FFD | 0.022 |
| Tritanopia (no blue cones) | #00ADBE | 0.137 |
| Achromatopsia (no color) | #979797 | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5795FF
#5795FF
oklch(67.9% 0.17 260.4)
- #C48D00
#C48D00
oklch(67.9% 0.14 80.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 #5795FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chefchaouen Blue #4895EF ΔE 0.028
- Cornflower Blue #6495ED ΔE 0.029
- Dodger Blue #1E90FF ΔE 0.041
- Soft Blue #6488EA ΔE 0.042
- Dark Sky Blue #448EE4 ΔE 0.047
- Lavender Blue #8B88F8 ΔE 0.064
- Periwinkle Blue #8F99FB ΔE 0.066
- Cornflower #6A79F7 ΔE 0.069
Use #5795FF 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.