#297FDF
Closest named color: Water Blue (#0E87CC). oklch(59.6% 0.167 254.4), rgb(41, 127, 223).
Aa
Black text reads best on this color (5.19:1).
About this color
#297FDF is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.167 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.041 away. Black text reads best on it, at 5.19:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.167) |
| Temperature | cool |
| Nearest name | Water Blue (#0E87CC) |
| Black text | 5.19:1 |
| White text | 4.04:1 |
Values
| HEX | #297FDF |
| RGB | rgb(41, 127, 223) |
| HSL | hsl(212, 74%, 52%) |
| OKLCH | oklch(59.6% 0.167 254.4) |
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 #297FDF | 4.04:1 | AA large text | Lc -72.7 | Content text, not long reading |
| Black text on #297FDF | 5.19:1 | AA | Lc 36.9 | Non-text elements, placeholder text |
| #297FDF text on white | 4.04:1 | AA large text | Lc 67.2 | Content text, not long reading |
| #297FDF text on black | 5.19:1 | AA | Lc -34.5 | 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
#DFEBFA
oklch(93.6% 0.024 254)
-
Step 200
200
#C5DBF7
oklch(88.4% 0.045 254.5)
-
Step 300
300
#9DC4F5
oklch(81% 0.081 254.4)
-
Step 400
400
#65A3F0
oklch(70.7% 0.131 254.6)
-
Step 500
500 (this color)
#297FDF
oklch(59.6% 0.167 254.4)
-
Step 600
600
#0071D8
oklch(55.5% 0.179 254.5)
-
Step 700
700
#005FB7
oklch(49.1% 0.158 254.4)
-
Step 800
800
#004E98
oklch(42.8% 0.138 254.3)
-
Step 900
900
#0E4179
oklch(37.6% 0.109 254.5)
-
Step 950
950
#0B2747
oklch(27.1% 0.068 254.1)
#297FDF 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) | #4E87E3 | 0.038 |
| Deuteranopia (no green cones) | #2977DD | 0.021 |
| Tritanopia (no blue cones) | #0096A4 | 0.125 |
| Achromatopsia (no color) | #7E7E7E | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #297FDF
#297FDF
oklch(59.6% 0.167 254.4)
- #AB7200
#AB7200
oklch(59.7% 0.126 74.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 #297FDF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Water Blue #0E87CC ΔE 0.041
- Dark Sky Blue #448EE4 ΔE 0.048
- Clear Blue #247AFD ΔE 0.049
- Windows Blue #3778BF ΔE 0.049
- Cerulean Blue #056EEE ΔE 0.055
- Royal Blue #4169E1 ΔE 0.056
- Dodger Blue #1E90FF ΔE 0.061
- Soft Blue #6488EA ΔE 0.062
Use #297FDF 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.