#2865D2
Closest named color: Royal Blue (#4169E1). oklch(53.1% 0.18 261), rgb(40, 101, 210).
Aa
White text reads best on this color (5.40:1).
About this color
#2865D2 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.180 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.035 away. White text reads best on it, at 5.40:1.
| Hue family | Blues |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.180) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 3.88:1 |
| White text | 5.40:1 |
Values
| HEX | #2865D2 |
| RGB | rgb(40, 101, 210) |
| HSL | hsl(218, 68%, 49%) |
| OKLCH | oklch(53.1% 0.18 261) |
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 #2865D2 | 5.40:1 | AA | Lc -81.8 | Fine for body text |
| Black text on #2865D2 | 3.88:1 | AA large text | Lc 27.7 | Dividers and decoration only |
| #2865D2 text on white | 5.40:1 | AA | Lc 76.4 | Fine for body text |
| #2865D2 text on black | 3.88:1 | AA large text | Lc -25.3 | 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
#72A0F1
oklch(70.7% 0.129 261.1)
-
Step 500
500
#4C86EC
oklch(63.1% 0.165 260.8)
-
Step 600
600 (this color)
#2865D2
oklch(53.1% 0.18 261)
-
Step 700
700
#225ABE
oklch(49.1% 0.168 261)
-
Step 800
800
#1E4A99
oklch(42.6% 0.138 261)
-
Step 900
900
#1E3F7A
oklch(37.7% 0.108 261)
-
Step 950
950
#122547
oklch(26.9% 0.068 261.1)
#2865D2 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) | #1672D6 | 0.033 |
| Deuteranopia (no green cones) | #0063D0 | 0.018 |
| Tritanopia (no blue cones) | #008092 | 0.139 |
| Achromatopsia (no color) | #6A6A6A | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2865D2
#2865D2
oklch(53.1% 0.18 261)
- #8C6400
#8C6400
oklch(53.1% 0.11 81.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 #2865D2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.035
- Azul #1D5DEC ΔE 0.046
- Warm Blue #4B57DB ΔE 0.046
- Cerulean Blue #056EEE ΔE 0.047
- Neon Blue #4361EE ΔE 0.050
- Mid Blue #276AB3 ΔE 0.052
- Bright Blue #0165FC ΔE 0.065
- Windows Blue #3778BF ΔE 0.065
Use #2865D2 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.