#5797EA
Closest named color: Cornflower Blue (#6495ED). oklch(67.1% 0.14 255.7), rgb(87, 151, 234).
Aa
Black text reads best on this color (7.01:1).
About this color
#5797EA is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.140 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.014 away. Black text reads best on it, at 7.01:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.140) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.01:1 |
| White text | 2.99:1 |
Values
| HEX | #5797EA |
| RGB | rgb(87, 151, 234) |
| HSL | hsl(214, 78%, 63%) |
| OKLCH | oklch(67.1% 0.14 255.7) |
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 #5797EA | 2.99:1 | Fails | Lc -61.7 | Content text, not long reading |
| Black text on #5797EA | 7.01:1 | AAA | Lc 47.7 | Large or bold text, headings |
| #5797EA text on white | 2.99:1 | Fails | Lc 56.3 | Large or bold text, headings |
| #5797EA text on black | 7.01:1 | AAA | Lc -45.5 | 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
#F0F6FD
oklch(97.1% 0.011 252.1)
-
Step 100
100
#DFEBFB
oklch(93.6% 0.025 255.6)
-
Step 200
200
#C4DBFA
oklch(88.4% 0.05 255.9)
-
Step 300
300
#9BC3F9
oklch(80.8% 0.088 256.1)
-
Step 400
400 (this color)
#5797EA
oklch(67.1% 0.14 255.7)
-
Step 500
500
#3188F3
oklch(63.1% 0.18 255.9)
-
Step 600
600
#0070DD
oklch(55.6% 0.187 255.6)
-
Step 700
700
#005EBB
oklch(49.1% 0.165 255.5)
-
Step 800
800
#004C9B
oklch(42.6% 0.144 255.8)
-
Step 900
900
#0A407E
oklch(37.7% 0.118 255.8)
-
Step 950
950
#09264A
oklch(27% 0.075 255.8)
#5797EA 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) | #739DED | 0.035 |
| Deuteranopia (no green cones) | #5F8FE8 | 0.021 |
| Tritanopia (no blue cones) | #00AAB5 | 0.116 |
| Achromatopsia (no color) | #959595 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5797EA
#5797EA
oklch(67.1% 0.14 255.7)
- #C68704
#C68704
oklch(67% 0.14 75.7)
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 #5797EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.014
- Chefchaouen Blue #4895EF ΔE 0.016
- Dark Sky Blue #448EE4 ΔE 0.032
- Soft Blue #6488EA ΔE 0.040
- Dodger Blue #1E90FF ΔE 0.054
- Perrywinkle #8F8CE7 ΔE 0.067
- Faded Blue #658CBB ΔE 0.070
- Periwinkle Blue #8F99FB ΔE 0.071
Use #5797EA 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.