#5B78E1
Closest named color: Cornflower (#6A79F7). oklch(60.3% 0.162 269.4), rgb(91, 120, 225).
Aa
Black text reads best on this color (5.21:1).
About this color
#5B78E1 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.162 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.039 away. Black text reads best on it, at 5.21:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.162) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.21:1 |
| White text | 4.02:1 |
Values
| HEX | #5B78E1 |
| RGB | rgb(91, 120, 225) |
| HSL | hsl(227, 69%, 62%) |
| OKLCH | oklch(60.3% 0.162 269.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 #5B78E1 | 4.02:1 | AA large text | Lc -72.8 | Content text, not long reading |
| Black text on #5B78E1 | 5.21:1 | AA | Lc 36.8 | Non-text elements, placeholder text |
| #5B78E1 text on white | 4.02:1 | AA large text | Lc 67.3 | Content text, not long reading |
| #5B78E1 text on black | 5.21:1 | AA | Lc -34.4 | 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
#E3EAFA
oklch(93.6% 0.023 266.9)
-
Step 200
200
#CDD9F7
oklch(88.6% 0.043 268.2)
-
Step 300
300
#ACBFF5
oklch(80.9% 0.079 269.5)
-
Step 400
400
#819CF0
oklch(70.7% 0.127 269.4)
-
Step 500
500 (this color)
#5B78E1
oklch(60.3% 0.162 269.4)
-
Step 600
600
#4B67D9
oklch(55.5% 0.177 269.4)
-
Step 700
700
#3D55BC
oklch(49% 0.164 269.5)
-
Step 800
800
#324698
oklch(42.6% 0.136 269.5)
-
Step 900
900
#2C3C79
oklch(37.7% 0.105 269.7)
-
Step 950
950
#192447
oklch(27.1% 0.067 268.5)
#5B78E1 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) | #4585E5 | 0.036 |
| Deuteranopia (no green cones) | #2F79DF | 0.040 |
| Tritanopia (no blue cones) | #0090A2 | 0.141 |
| Achromatopsia (no color) | #7F7F7F | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B78E1
#5B78E1
oklch(60.3% 0.162 269.4)
- #9E7C00
#9E7C00
oklch(60.2% 0.123 89.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 #5B78E1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.039
- Soft Blue #6488EA ΔE 0.045
- Royal Blue #4169E1 ΔE 0.051
- Dark Sky Blue #448EE4 ΔE 0.058
- Medium Slate Blue #7B68EE ΔE 0.059
- Clear Blue #247AFD ΔE 0.059
- Dark Periwinkle #665FD1 ΔE 0.063
- Windows Blue #3778BF ΔE 0.066
Use #5B78E1 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.