#4871D7
Closest named color: Royal Blue (#4169E1). oklch(57.2% 0.163 265.2), rgb(72, 113, 215).
Aa
Black text reads best on this color (4.61:1).
About this color
#4871D7 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.163 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.028 away. Black text reads best on it, at 4.61:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.163) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.61:1 |
| White text | 4.54:1 |
Values
| HEX | #4871D7 |
| RGB | rgb(72, 113, 215) |
| HSL | hsl(223, 64%, 56%) |
| OKLCH | oklch(57.2% 0.163 265.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 #4871D7 | 4.54:1 | AA | Lc -76.7 | Fine for body text |
| Black text on #4871D7 | 4.61:1 | AA | Lc 32.8 | Non-text elements, placeholder text |
| #4871D7 text on white | 4.54:1 | AA | Lc 71.3 | Content text, not long reading |
| #4871D7 text on black | 4.61:1 | AA | Lc -30.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 600.
-
Step 50
50
#F2F5FC
oklch(97% 0.01 267.4)
-
Step 100
100
#E3EAF9
oklch(93.6% 0.022 265.8)
-
Step 200
200
#CCD9F5
oklch(88.4% 0.041 265.7)
-
Step 300
300
#AAC0F1
oklch(80.8% 0.074 265.9)
-
Step 400
400
#7D9FEA
oklch(70.8% 0.117 265)
-
Step 500
500
#5D85E4
oklch(63.2% 0.15 265.2)
-
Step 600
600 (this color)
#4871D7
oklch(57.2% 0.163 265.2)
-
Step 700
700
#365AB6
oklch(49.3% 0.152 265.2)
-
Step 800
800
#2D4A93
oklch(42.8% 0.125 265.2)
-
Step 900
900
#283E75
oklch(37.6% 0.098 265.5)
-
Step 950
950
#172545
oklch(27% 0.063 264.7)
#4871D7 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) | #3C7DDB | 0.031 |
| Deuteranopia (no green cones) | #1B70D5 | 0.034 |
| Tritanopia (no blue cones) | #00899A | 0.134 |
| Achromatopsia (no color) | #767676 | 0.163 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4871D7
#4871D7
oklch(57.2% 0.163 265.2)
- #977100
#977100
oklch(57.1% 0.117 85.1)
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 #4871D7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.028
- Windows Blue #3778BF ΔE 0.047
- Cerulean Blue #056EEE ΔE 0.052
- Dark Periwinkle #665FD1 ΔE 0.053
- Neon Blue #4361EE ΔE 0.055
- Clear Blue #247AFD ΔE 0.062
- Warm Blue #4B57DB ΔE 0.064
- French Blue #436BAD ΔE 0.066
Use #4871D7 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.