#506FD7
Closest named color: Royal Blue (#4169E1). oklch(57.2% 0.163 268.4), rgb(80, 111, 215).
Aa
Black text reads best on this color (4.59:1).
About this color
#506FD7 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.163 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.029 away. Black text reads best on it, at 4.59:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.163) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.59:1 |
| White text | 4.56:1 |
Values
| HEX | #506FD7 |
| RGB | rgb(80, 111, 215) |
| HSL | hsl(226, 63%, 58%) |
| OKLCH | oklch(57.2% 0.163 268.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 #506FD7 | 4.56:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #506FD7 | 4.59:1 | AA | Lc 32.6 | Non-text elements, placeholder text |
| #506FD7 text on white | 4.56:1 | AA | Lc 71.4 | Content text, not long reading |
| #506FD7 text on black | 4.59:1 | AA | Lc -30.2 | 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
#E4EAF9
oklch(93.7% 0.021 268.4)
-
Step 200
200
#CED9F5
oklch(88.6% 0.04 268.5)
-
Step 300
300
#ADBFF1
oklch(80.8% 0.074 269.3)
-
Step 400
400
#829DEA
oklch(70.7% 0.117 268.6)
-
Step 500
500
#6383E4
oklch(63.2% 0.15 268.2)
-
Step 600
600 (this color)
#506FD7
oklch(57.2% 0.163 268.4)
-
Step 700
700
#3D58B5
oklch(49.1% 0.151 268.2)
-
Step 800
800
#324893
oklch(42.6% 0.126 268.3)
-
Step 900
900
#2C3D75
oklch(37.7% 0.098 268.7)
-
Step 950
950
#1A2445
oklch(27% 0.063 269.2)
#506FD7 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) | #397CDB | 0.036 |
| Deuteranopia (no green cones) | #1C70D5 | 0.041 |
| Tritanopia (no blue cones) | #008799 | 0.138 |
| Achromatopsia (no color) | #767676 | 0.163 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #506FD7
#506FD7
oklch(57.2% 0.163 268.4)
- #947300
#947300
oklch(57.2% 0.117 88.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 #506FD7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.029
- Dark Periwinkle #665FD1 ΔE 0.045
- Windows Blue #3778BF ΔE 0.053
- Neon Blue #4361EE ΔE 0.054
- Cerulean Blue #056EEE ΔE 0.058
- Slate Blue #6A5ACD ΔE 0.058
- Light Indigo #6D5ACF ΔE 0.060
- Warm Blue #4B57DB ΔE 0.060
Use #506FD7 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.