#2864D2
Closest named color: Royal Blue (#4169E1). oklch(52.9% 0.181 261.3), rgb(40, 100, 210).
Aa
White text reads best on this color (5.46:1).
About this color
#2864D2 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.181 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.036 away. White text reads best on it, at 5.46:1.
| Hue family | Blues |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.181) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 3.84:1 |
| White text | 5.46:1 |
Values
| HEX | #2864D2 |
| RGB | rgb(40, 100, 210) |
| HSL | hsl(219, 68%, 49%) |
| OKLCH | oklch(52.9% 0.181 261.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 #2864D2 | 5.46:1 | AA | Lc -82.0 | Fine for body text |
| Black text on #2864D2 | 3.84:1 | AA large text | Lc 27.4 | Dividers and decoration only |
| #2864D2 text on white | 5.46:1 | AA | Lc 76.7 | Fine for body text |
| #2864D2 text on black | 3.84:1 | AA large text | Lc -25.0 | 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E1EAFA
oklch(93.5% 0.024 262.1)
-
Step 200
200
#C9DAF8
oklch(88.5% 0.045 261.9)
-
Step 300
300
#A3C2F6
oklch(81% 0.081 260.6)
-
Step 400
400
#72A0F2
oklch(70.8% 0.131 261.3)
-
Step 500
500
#4D86ED
oklch(63.2% 0.166 261.2)
-
Step 600
600 (this color)
#2864D2
oklch(52.9% 0.181 261.3)
-
Step 700
700
#235ABE
oklch(49.1% 0.168 261.2)
-
Step 800
800
#1E4A9A
oklch(42.7% 0.14 261.2)
-
Step 900
900
#1E3F7A
oklch(37.7% 0.108 261)
-
Step 950
950
#122548
oklch(27% 0.07 261.5)
#2864D2 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) | #1071D6 | 0.033 |
| Deuteranopia (no green cones) | #0062D0 | 0.018 |
| Tritanopia (no blue cones) | #007F91 | 0.140 |
| Achromatopsia (no color) | #696969 | 0.181 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2864D2
#2864D2
oklch(52.9% 0.181 261.3)
- #8B6400
#8B6400
oklch(53% 0.109 81.8)
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 #2864D2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.036
- Warm Blue #4B57DB ΔE 0.044
- Azul #1D5DEC ΔE 0.044
- Cerulean Blue #056EEE ΔE 0.048
- Neon Blue #4361EE ΔE 0.050
- Mid Blue #276AB3 ΔE 0.053
- Bright Blue #0165FC ΔE 0.065
- Windows Blue #3778BF ΔE 0.067
Use #2864D2 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.