#2F7EDC
Closest named color: Water Blue (#0E87CC). oklch(59.4% 0.162 255.1), rgb(47, 126, 220).
Aa
Black text reads best on this color (5.13:1).
About this color
#2F7EDC is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.162 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.039 away. Black text reads best on it, at 5.13:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.162) |
| Temperature | cool |
| Nearest name | Water Blue (#0E87CC) |
| Black text | 5.13:1 |
| White text | 4.08:1 |
Values
| HEX | #2F7EDC |
| RGB | rgb(47, 126, 220) |
| HSL | hsl(213, 71%, 52%) |
| OKLCH | oklch(59.4% 0.162 255.1) |
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 #2F7EDC | 4.08:1 | AA large text | Lc -73.1 | Content text, not long reading |
| Black text on #2F7EDC | 5.13:1 | AA | Lc 36.5 | Non-text elements, placeholder text |
| #2F7EDC text on white | 4.08:1 | AA large text | Lc 67.6 | Content text, not long reading |
| #2F7EDC text on black | 5.13:1 | AA | Lc -34.1 | 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
#E0EBF9
oklch(93.6% 0.022 254.4)
-
Step 200
200
#C6DBF7
oklch(88.5% 0.045 255.6)
-
Step 300
300
#9EC4F4
oklch(81% 0.08 254.5)
-
Step 400
400
#68A3EE
oklch(70.7% 0.127 255.1)
-
Step 500
500 (this color)
#2F7EDC
oklch(59.4% 0.162 255.1)
-
Step 600
600
#1071D7
oklch(55.6% 0.177 255.2)
-
Step 700
700
#005EBA
oklch(49.1% 0.163 255.3)
-
Step 800
800
#074D97
oklch(42.6% 0.137 255.3)
-
Step 900
900
#134178
oklch(37.7% 0.106 255.4)
-
Step 950
950
#0D2746
oklch(27.1% 0.066 254.6)
#2F7EDC 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) | #4F86E0 | 0.037 |
| Deuteranopia (no green cones) | #2E76DA | 0.021 |
| Tritanopia (no blue cones) | #0094A2 | 0.123 |
| Achromatopsia (no color) | #7E7E7E | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F7EDC
#2F7EDC
oklch(59.4% 0.162 255.1)
- #A97200
#A97200
oklch(59.5% 0.125 75.4)
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 #2F7EDC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Water Blue #0E87CC ΔE 0.039
- Windows Blue #3778BF ΔE 0.045
- Dark Sky Blue #448EE4 ΔE 0.049
- Clear Blue #247AFD ΔE 0.052
- Royal Blue #4169E1 ΔE 0.055
- Cerulean Blue #056EEE ΔE 0.057
- Soft Blue #6488EA ΔE 0.062
- Cool Blue #4984B8 ΔE 0.064
Use #2F7EDC 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.