#5E79E4
Closest named color: Cornflower (#6A79F7). oklch(60.9% 0.164 270.3), rgb(94, 121, 228).
Aa
Black text reads best on this color (5.33:1).
About this color
#5E79E4 is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.164 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.033 away. Black text reads best on it, at 5.33:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.164) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.33:1 |
| White text | 3.93:1 |
Values
| HEX | #5E79E4 |
| RGB | rgb(94, 121, 228) |
| HSL | hsl(228, 71%, 63%) |
| OKLCH | oklch(60.9% 0.164 270.3) |
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 #5E79E4 | 3.93:1 | AA large text | Lc -72.0 | Content text, not long reading |
| Black text on #5E79E4 | 5.33:1 | AA | Lc 37.6 | Non-text elements, placeholder text |
| #5E79E4 text on white | 3.93:1 | AA large text | Lc 66.5 | Content text, not long reading |
| #5E79E4 text on black | 5.33:1 | AA | Lc -35.1 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E4EAFA
oklch(93.7% 0.023 269.4)
-
Step 200
200
#CED8F8
oklch(88.5% 0.045 271.7)
-
Step 300
300
#ACBFF5
oklch(80.9% 0.079 269.5)
-
Step 400
400
#829BF1
oklch(70.6% 0.129 270.5)
-
Step 500
500 (this color)
#5E79E4
oklch(60.9% 0.164 270.3)
-
Step 600
600
#4D67DA
oklch(55.7% 0.178 270.1)
-
Step 700
700
#3F54BD
oklch(49% 0.166 270.5)
-
Step 800
800
#334699
oklch(42.7% 0.137 270)
-
Step 900
900
#2C3C7A
oklch(37.8% 0.107 269.8)
-
Step 950
950
#1A2347
oklch(26.9% 0.068 270.7)
#5E79E4 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) | #4586E8 | 0.038 |
| Deuteranopia (no green cones) | #2F7BE2 | 0.043 |
| Tritanopia (no blue cones) | #0091A3 | 0.144 |
| Achromatopsia (no color) | #808080 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5E79E4
#5E79E4
oklch(60.9% 0.164 270.3)
- #9F7E00
#9F7E00
oklch(60.7% 0.124 90.2)
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 #5E79E4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.033
- Soft Blue #6488EA ΔE 0.040
- Royal Blue #4169E1 ΔE 0.056
- Medium Slate Blue #7B68EE ΔE 0.056
- Dark Sky Blue #448EE4 ΔE 0.057
- Clear Blue #247AFD ΔE 0.059
- Dark Periwinkle #665FD1 ΔE 0.066
- Windows Blue #3778BF ΔE 0.072
Use #5E79E4 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.