#4864D7
Closest named color: Royal Blue (#4169E1). oklch(54.6% 0.179 269.3), rgb(72, 100, 215).
Aa
White text reads best on this color (5.14:1).
About this color
#4864D7 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.179 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.019 away. White text reads best on it, at 5.14:1.
| Hue family | Blues |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.179) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.07:1 |
| White text | 5.14:1 |
Values
| HEX | #4864D7 |
| RGB | rgb(72, 100, 215) |
| HSL | hsl(228, 64%, 56%) |
| OKLCH | oklch(54.6% 0.179 269.3) |
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 #4864D7 | 5.14:1 | AA | Lc -80.5 | Fine for body text |
| Black text on #4864D7 | 4.07:1 | AA large text | Lc 29.0 | Dividers and decoration only |
| #4864D7 text on white | 5.14:1 | AA | Lc 75.1 | Fine for body text |
| #4864D7 text on black | 4.07:1 | AA large text | Lc -26.6 | Dividers and decoration only |
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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFA
oklch(93.6% 0.023 266.9)
-
Step 200
200
#CDD9F8
oklch(88.6% 0.045 268.7)
-
Step 300
300
#ABBFF6
oklch(80.9% 0.081 269)
-
Step 400
400
#809CF1
oklch(70.7% 0.129 269.1)
-
Step 500
500
#6281EC
oklch(63.2% 0.164 269.2)
-
Step 600
600 (this color)
#4864D7
oklch(54.6% 0.179 269.3)
-
Step 700
700
#3C55BD
oklch(49.1% 0.166 269.2)
-
Step 800
800
#324699
oklch(42.7% 0.137 269.5)
-
Step 900
900
#2B3C7A
oklch(37.7% 0.107 269.2)
-
Step 950
950
#192447
oklch(27.1% 0.067 268.5)
#4864D7 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) | #0F74DB | 0.049 |
| Deuteranopia (no green cones) | #0067D5 | 0.043 |
| Tritanopia (no blue cones) | #007F94 | 0.146 |
| Achromatopsia (no color) | #6D6D6D | 0.179 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4864D7
#4864D7
oklch(54.6% 0.179 269.3)
- #8A6C00
#8A6C00
oklch(54.5% 0.111 89.4)
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 #4864D7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.019
- Warm Blue #4B57DB ΔE 0.031
- Neon Blue #4361EE ΔE 0.037
- Dark Periwinkle #665FD1 ΔE 0.040
- Iris #6258C4 ΔE 0.049
- Slate Blue #6A5ACD ΔE 0.050
- Cerulean Blue #056EEE ΔE 0.052
- Azul #1D5DEC ΔE 0.053
Use #4864D7 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.