#2A5FE4
Closest named color: Azul (#1D5DEC). oklch(53.4% 0.21 264), rgb(42, 95, 228).
Aa
White text reads best on this color (5.44:1).
About this color
#2A5FE4 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.210 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.015 away. White text reads best on it, at 5.44:1.
| Hue family | Blues |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.210) |
| Temperature | cool |
| Nearest name | Azul (#1D5DEC) |
| Black text | 3.85:1 |
| White text | 5.44:1 |
Values
| HEX | #2A5FE4 |
| RGB | rgb(42, 95, 228) |
| HSL | hsl(223, 78%, 53%) |
| OKLCH | oklch(53.4% 0.21 264) |
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 #2A5FE4 | 5.44:1 | AA | Lc -81.8 | Fine for body text |
| Black text on #2A5FE4 | 3.85:1 | AA large text | Lc 27.6 | Dividers and decoration only |
| #2A5FE4 text on white | 5.44:1 | AA | Lc 76.5 | Fine for body text |
| #2A5FE4 text on black | 3.85: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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E1EAFD
oklch(93.6% 0.028 265.4)
-
Step 200
200
#C8DAFD
oklch(88.6% 0.052 263.7)
-
Step 300
300
#A2C0FE
oklch(80.8% 0.094 264.4)
-
Step 400
400
#709DFE
oklch(70.7% 0.151 264.1)
-
Step 500
500
#4B81FC
oklch(63.1% 0.192 263.9)
-
Step 600
600 (this color)
#2A5FE4
oklch(53.4% 0.21 264)
-
Step 700
700
#2454CD
oklch(49.2% 0.195 264)
-
Step 800
800
#1E45A6
oklch(42.6% 0.163 264)
-
Step 900
900
#1D3C83
oklch(37.7% 0.125 263.7)
-
Step 950
950
#12244D
oklch(27.1% 0.079 264)
#2A5FE4 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) | #0072E8 | 0.045 |
| Deuteranopia (no green cones) | #0061E1 | 0.018 |
| Tritanopia (no blue cones) | #008198 | 0.163 |
| Achromatopsia (no color) | #6A6A6A | 0.210 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A5FE4
#2A5FE4
oklch(53.4% 0.21 264)
- #8B6600
#8B6600
oklch(53.4% 0.11 83.5)
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 #2A5FE4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Azul #1D5DEC ΔE 0.015
- Neon Blue #4361EE ΔE 0.029
- Royal Blue #4169E1 ΔE 0.035
- Warm Blue #4B57DB ΔE 0.036
- Cerulean Blue #056EEE ΔE 0.038
- Bright Blue #0165FC ΔE 0.040
- Electric Blue #0652FF ΔE 0.053
- Clear Blue #247AFD ΔE 0.073
Use #2A5FE4 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.