#5798EA
Closest named color: Cornflower Blue (#6495ED). oklch(67.3% 0.139 255.1), rgb(87, 152, 234).
Aa
Black text reads best on this color (7.08:1).
About this color
#5798EA is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.139 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.015 away. Black text reads best on it, at 7.08:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.139) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.08:1 |
| White text | 2.96:1 |
Values
| HEX | #5798EA |
| RGB | rgb(87, 152, 234) |
| HSL | hsl(213, 78%, 63%) |
| OKLCH | oklch(67.3% 0.139 255.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 #5798EA | 2.96:1 | Fails | Lc -61.3 | Content text, not long reading |
| Black text on #5798EA | 7.08:1 | AAA | Lc 48.1 | Large or bold text, headings |
| #5798EA text on white | 2.96:1 | Fails | Lc 56.0 | Large or bold text, headings |
| #5798EA text on black | 7.08:1 | AAA | Lc -45.8 | 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
#C4DBF9
oklch(88.4% 0.048 255.1)
-
Step 300
300
#9BC4F9
oklch(81% 0.087 255.1)
-
Step 400
400 (this color)
#5798EA
oklch(67.3% 0.139 255.1)
-
Step 500
500
#2F89F2
oklch(63.2% 0.178 255.1)
-
Step 600
600
#0070DB
oklch(55.5% 0.184 255.3)
-
Step 700
700
#005EBA
oklch(49.1% 0.163 255.3)
-
Step 800
800
#004D9A
oklch(42.7% 0.142 255.2)
-
Step 900
900
#09407D
oklch(37.6% 0.117 255.3)
-
Step 950
950
#092649
oklch(26.9% 0.074 255.3)
#5798EA 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) | #759DED | 0.036 |
| Deuteranopia (no green cones) | #6090E8 | 0.021 |
| Tritanopia (no blue cones) | #00ABB6 | 0.114 |
| Achromatopsia (no color) | #969696 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5798EA
#5798EA
oklch(67.3% 0.139 255.1)
- #C7880C
#C7880C
oklch(67.3% 0.139 75.5)
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 #5798EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.015
- Chefchaouen Blue #4895EF ΔE 0.018
- Dark Sky Blue #448EE4 ΔE 0.034
- Soft Blue #6488EA ΔE 0.042
- Dodger Blue #1E90FF ΔE 0.055
- Perrywinkle #8F8CE7 ΔE 0.068
- Periwinkle Blue #8F99FB ΔE 0.070
- Faded Blue #658CBB ΔE 0.071
Use #5798EA 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.