#5976DC
Closest named color: Royal Blue (#4169E1). oklch(59.5% 0.158 269.2), rgb(89, 118, 220).
Aa
Black text reads best on this color (5.04:1).
About this color
#5976DC is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.158 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.047 away. Black text reads best on it, at 5.04:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.158) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 5.04:1 |
| White text | 4.15:1 |
Values
| HEX | #5976DC |
| RGB | rgb(89, 118, 220) |
| HSL | hsl(227, 65%, 61%) |
| OKLCH | oklch(59.5% 0.158 269.2) |
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 #5976DC | 4.15:1 | AA large text | Lc -73.9 | Content text, not long reading |
| Black text on #5976DC | 5.04:1 | AA | Lc 35.7 | Non-text elements, placeholder text |
| #5976DC text on white | 4.15:1 | AA large text | Lc 68.4 | Content text, not long reading |
| #5976DC text on black | 5.04:1 | AA | Lc -33.3 | 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
#E4EAF9
oklch(93.7% 0.021 268.4)
-
Step 200
200
#CDD9F7
oklch(88.6% 0.043 268.2)
-
Step 300
300
#ACBFF4
oklch(80.9% 0.078 269.3)
-
Step 400
400
#819CEE
oklch(70.6% 0.124 269.2)
-
Step 500
500 (this color)
#5976DC
oklch(59.5% 0.158 269.2)
-
Step 600
600
#4C68D7
oklch(55.6% 0.173 269.4)
-
Step 700
700
#3D56BA
oklch(49.1% 0.16 269.2)
-
Step 800
800
#324797
oklch(42.7% 0.133 269)
-
Step 900
900
#2C3C78
oklch(37.6% 0.104 269.6)
-
Step 950
950
#1A2446
oklch(27.1% 0.065 269.4)
#5976DC 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) | #4582E0 | 0.034 |
| Deuteranopia (no green cones) | #3077DA | 0.038 |
| Tritanopia (no blue cones) | #008D9E | 0.138 |
| Achromatopsia (no color) | #7C7C7C | 0.159 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5976DC
#5976DC
oklch(59.5% 0.158 269.2)
- #9B7A00
#9B7A00
oklch(59.5% 0.121 89.7)
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 #5976DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.047
- Cornflower #6A79F7 ΔE 0.047
- Soft Blue #6488EA ΔE 0.052
- Dark Periwinkle #665FD1 ΔE 0.057
- Windows Blue #3778BF ΔE 0.059
- Medium Slate Blue #7B68EE ΔE 0.062
- Dark Sky Blue #448EE4 ΔE 0.062
- Clear Blue #247AFD ΔE 0.062
Use #5976DC 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.