#2F7FE1
Closest named color: Water Blue (#0E87CC). oklch(59.9% 0.168 255.7), rgb(47, 127, 225).
Aa
Black text reads best on this color (5.24:1).
About this color
#2F7FE1 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.168 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.044 away. Black text reads best on it, at 5.24:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.168) |
| Temperature | cool |
| Nearest name | Water Blue (#0E87CC) |
| Black text | 5.24:1 |
| White text | 4.00:1 |
Values
| HEX | #2F7FE1 |
| RGB | rgb(47, 127, 225) |
| HSL | hsl(213, 75%, 53%) |
| OKLCH | oklch(59.9% 0.168 255.7) |
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 #2F7FE1 | 4.00:1 | AA large text | Lc -72.4 | Content text, not long reading |
| Black text on #2F7FE1 | 5.24:1 | AA | Lc 37.2 | Non-text elements, placeholder text |
| #2F7FE1 text on white | 4.00:1 | AA large text | Lc 66.9 | Content text, not long reading |
| #2F7FE1 text on black | 5.24:1 | AA | Lc -34.8 | 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFA
oklch(93.6% 0.024 256.1)
-
Step 200
200
#C6DBF8
oklch(88.5% 0.046 256.5)
-
Step 300
300
#9EC3F5
oklch(80.8% 0.082 256.1)
-
Step 400
400
#67A3F1
oklch(70.8% 0.131 255.5)
-
Step 500
500 (this color)
#2F7FE1
oklch(59.9% 0.168 255.7)
-
Step 600
600
#0C70DA
oklch(55.5% 0.182 255.7)
-
Step 700
700
#005EBB
oklch(49.1% 0.165 255.5)
-
Step 800
800
#054D99
oklch(42.7% 0.14 255.5)
-
Step 900
900
#11417A
oklch(37.8% 0.109 255.5)
-
Step 950
950
#0C2647
oklch(26.9% 0.069 255.8)
#2F7FE1 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) | #4D88E5 | 0.037 |
| Deuteranopia (no green cones) | #2878DF | 0.020 |
| Tritanopia (no blue cones) | #0096A5 | 0.127 |
| Achromatopsia (no color) | #7F7F7F | 0.168 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F7FE1
#2F7FE1
oklch(59.9% 0.168 255.7)
- #AB7300
#AB7300
oklch(59.9% 0.126 75.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 #2F7FE1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Water Blue #0E87CC ΔE 0.044
- Dark Sky Blue #448EE4 ΔE 0.046
- Clear Blue #247AFD ΔE 0.046
- Windows Blue #3778BF ΔE 0.052
- Cerulean Blue #056EEE ΔE 0.055
- Royal Blue #4169E1 ΔE 0.055
- Dodger Blue #1E90FF ΔE 0.058
- Soft Blue #6488EA ΔE 0.058
Use #2F7FE1 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.