#5796EC
Closest named color: Cornflower Blue (#6495ED). oklch(67% 0.144 256.6), rgb(87, 150, 236).
Aa
Black text reads best on this color (6.97:1).
About this color
#5796EC is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.144 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.013 away. Black text reads best on it, at 6.97:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 6.97:1 |
| White text | 3.00:1 |
Values
| HEX | #5796EC |
| RGB | rgb(87, 150, 236) |
| HSL | hsl(215, 80%, 63%) |
| OKLCH | oklch(67% 0.144 256.6) |
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 #5796EC | 3.00:1 | AA large text | Lc -61.9 | Content text, not long reading |
| Black text on #5796EC | 6.97:1 | AA | Lc 47.5 | Large or bold text, headings |
| #5796EC text on white | 3.00:1 | AA large text | Lc 56.6 | Large or bold text, headings |
| #5796EC text on black | 6.97:1 | AA | Lc -45.2 | 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
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C4DBFB
oklch(88.5% 0.051 256.7)
-
Step 300
300
#9BC3FB
oklch(80.9% 0.091 256.9)
-
Step 400
400 (this color)
#5796EC
oklch(67% 0.144 256.6)
-
Step 500
500
#3287F6
oklch(63.1% 0.185 256.8)
-
Step 600
600
#006EE1
oklch(55.5% 0.194 256.7)
-
Step 700
700
#005CBF
oklch(49% 0.172 256.8)
-
Step 800
800
#004B9E
oklch(42.6% 0.15 256.7)
-
Step 900
900
#0C407F
oklch(37.8% 0.119 256.4)
-
Step 950
950
#0A264B
oklch(27.1% 0.076 256.8)
#5796EC 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) | #719CF0 | 0.033 |
| Deuteranopia (no green cones) | #5C8EEA | 0.021 |
| Tritanopia (no blue cones) | #00AAB6 | 0.118 |
| Achromatopsia (no color) | #959595 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5796EC
#5796EC
oklch(67% 0.144 256.6)
- #C58700
#C58700
oklch(66.9% 0.14 76.4)
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 #5796EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.013
- Chefchaouen Blue #4895EF ΔE 0.014
- Dark Sky Blue #448EE4 ΔE 0.031
- Soft Blue #6488EA ΔE 0.037
- Dodger Blue #1E90FF ΔE 0.050
- Perrywinkle #8F8CE7 ΔE 0.067
- Periwinkle Blue #8F99FB ΔE 0.070
- Lavender Blue #8B88F8 ΔE 0.071
Use #5796EC 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.