#2A7DF1
Closest named color: Clear Blue (#247AFD). oklch(60.4% 0.192 258), rgb(42, 125, 241).
Aa
Black text reads best on this color (5.30:1).
About this color
#2A7DF1 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.192 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.020 away. Black text reads best on it, at 5.30:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.192) |
| Temperature | cool |
| Nearest name | Clear Blue (#247AFD) |
| Black text | 5.30:1 |
| White text | 3.96:1 |
Values
| HEX | #2A7DF1 |
| RGB | rgb(42, 125, 241) |
| HSL | hsl(215, 88%, 55%) |
| OKLCH | oklch(60.4% 0.192 258) |
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 #2A7DF1 | 3.96:1 | AA large text | Lc -71.9 | Content text, not long reading |
| Black text on #2A7DF1 | 5.30:1 | AA | Lc 37.7 | Non-text elements, placeholder text |
| #2A7DF1 text on white | 3.96:1 | AA large text | Lc 66.4 | Content text, not long reading |
| #2A7DF1 text on black | 5.30:1 | AA | Lc -35.3 | 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 500.
-
Step 50
50
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C4DBFC
oklch(88.5% 0.052 257.4)
-
Step 300
300
#9BC3FD
oklch(81% 0.093 257.6)
-
Step 400
400
#63A1FD
oklch(70.8% 0.15 258.1)
-
Step 500
500 (this color)
#2A7DF1
oklch(60.4% 0.192 258)
-
Step 600
600
#006CE8
oklch(55.6% 0.205 258)
-
Step 700
700
#005AC5
oklch(49.1% 0.183 258.1)
-
Step 800
800
#004AA3
oklch(42.8% 0.158 257.9)
-
Step 900
900
#0D3F82
oklch(37.8% 0.124 257.8)
-
Step 950
950
#0A254C
oklch(26.9% 0.079 258.2)
#2A7DF1 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) | #3889F5 | 0.034 |
| Deuteranopia (no green cones) | #0077EF | 0.023 |
| Tritanopia (no blue cones) | #0099AB | 0.146 |
| Achromatopsia (no color) | #808080 | 0.192 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A7DF1
#2A7DF1
oklch(60.4% 0.192 258)
- #AA7600
#AA7600
oklch(60.4% 0.126 77.9)
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 #2A7DF1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Clear Blue #247AFD ΔE 0.020
- Cerulean Blue #056EEE ΔE 0.043
- Dodger Blue #1E90FF ΔE 0.050
- Royal Blue #4169E1 ΔE 0.053
- Dark Sky Blue #448EE4 ΔE 0.057
- Cornflower #6A79F7 ΔE 0.060
- Soft Blue #6488EA ΔE 0.063
- Bright Blue #0165FC ΔE 0.066
Use #2A7DF1 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.