#5F78DA
Closest named color: Soft Blue (#6488EA). oklch(60.1% 0.151 270.5), rgb(95, 120, 218).
Aa
Black text reads best on this color (5.18:1).
About this color
#5F78DA is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.151 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.046 away. Black text reads best on it, at 5.18:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.151) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.18:1 |
| White text | 4.04:1 |
Values
| HEX | #5F78DA |
| RGB | rgb(95, 120, 218) |
| HSL | hsl(228, 62%, 61%) |
| OKLCH | oklch(60.1% 0.151 270.5) |
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 #5F78DA | 4.04:1 | AA large text | Lc -73.0 | Content text, not long reading |
| Black text on #5F78DA | 5.18:1 | AA | Lc 36.6 | Non-text elements, placeholder text |
| #5F78DA text on white | 4.04:1 | AA large text | Lc 67.5 | Content text, not long reading |
| #5F78DA text on black | 5.18:1 | AA | Lc -34.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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E4EAF9
oklch(93.7% 0.021 268.4)
-
Step 200
200
#CFD8F5
oklch(88.4% 0.041 271.9)
-
Step 300
300
#AEBFF1
oklch(80.9% 0.073 270.1)
-
Step 400
400
#859CEB
oklch(70.7% 0.119 270.8)
-
Step 500
500 (this color)
#5F78DA
oklch(60.1% 0.151 270.5)
-
Step 600
600
#5068D2
oklch(55.5% 0.165 270.6)
-
Step 700
700
#4156B6
oklch(49% 0.153 270.5)
-
Step 800
800
#364793
oklch(42.7% 0.126 270.7)
-
Step 900
900
#2E3C75
oklch(37.6% 0.099 270.6)
-
Step 950
950
#1B2445
oklch(27.1% 0.063 270.3)
#5F78DA 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) | #4C84DE | 0.034 |
| Deuteranopia (no green cones) | #3B79D8 | 0.037 |
| Tritanopia (no blue cones) | #0D8E9E | 0.136 |
| Achromatopsia (no color) | #7E7E7E | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F78DA
#5F78DA
oklch(60.1% 0.151 270.5)
- #9C7C00
#9C7C00
oklch(60% 0.123 90.6)
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 #5F78DA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.046
- Cornflower #6A79F7 ΔE 0.046
- Royal Blue #4169E1 ΔE 0.056
- Dark Sky Blue #448EE4 ΔE 0.059
- Windows Blue #3778BF ΔE 0.060
- Dark Periwinkle #665FD1 ΔE 0.062
- Medium Slate Blue #7B68EE ΔE 0.062
- Clear Blue #247AFD ΔE 0.069
Use #5F78DA 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.