#5B76D5
Closest named color: Royal Blue (#4169E1). oklch(59.1% 0.148 269.5), rgb(91, 118, 213).
Aa
Black text reads best on this color (4.99:1).
About this color
#5B76D5 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.148 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.052 away. Black text reads best on it, at 4.99:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.148) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.99:1 |
| White text | 4.20:1 |
Values
| HEX | #5B76D5 |
| RGB | rgb(91, 118, 213) |
| HSL | hsl(227, 59%, 60%) |
| OKLCH | oklch(59.1% 0.148 269.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 #5B76D5 | 4.20:1 | AA large text | Lc -74.3 | Content text, not long reading |
| Black text on #5B76D5 | 4.99:1 | AA | Lc 35.3 | Non-text elements, placeholder text |
| #5B76D5 text on white | 4.20:1 | AA large text | Lc 68.8 | Content text, not long reading |
| #5B76D5 text on black | 4.99:1 | AA | Lc -32.9 | 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 600.
-
Step 50
50
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E5EAF7
oklch(93.7% 0.018 269.1)
-
Step 200
200
#CFD9F2
oklch(88.5% 0.036 268.3)
-
Step 300
300
#AFBFED
oklch(80.8% 0.068 269.9)
-
Step 400
400
#869DE4
oklch(70.7% 0.108 269.8)
-
Step 500
500
#6983DC
oklch(63% 0.137 269.8)
-
Step 600
600 (this color)
#5B76D5
oklch(59.1% 0.148 269.5)
-
Step 700
700
#4259AE
oklch(49.1% 0.138 269.4)
-
Step 800
800
#36498D
oklch(42.7% 0.115 269.3)
-
Step 900
900
#2F3E70
oklch(37.7% 0.088 269.3)
-
Step 950
950
#1B2442
oklch(26.9% 0.057 269.6)
#5B76D5 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) | #4B81D9 | 0.031 |
| Deuteranopia (no green cones) | #3A76D3 | 0.034 |
| Tritanopia (no blue cones) | #008B9B | 0.132 |
| Achromatopsia (no color) | #7C7C7C | 0.148 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B76D5
#5B76D5
oklch(59.1% 0.148 269.5)
- #9A7900
#9A7900
oklch(59.1% 0.121 89.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 #5B76D5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.052
- Windows Blue #3778BF ΔE 0.052
- Soft Blue #6488EA ΔE 0.055
- Cornflower #6A79F7 ΔE 0.056
- Dark Periwinkle #665FD1 ΔE 0.057
- Dark Sky Blue #448EE4 ΔE 0.064
- Medium Slate Blue #7B68EE ΔE 0.067
- Cool Blue #4984B8 ΔE 0.067
Use #5B76D5 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.