#2F7FA6
Closest named color: Cerulean (#457B9D). oklch(56.5% 0.097 233.6), rgb(47, 127, 166).
Aa
Black text reads best on this color (4.70:1).
About this color
#2F7FA6 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.097 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.021 away. Black text reads best on it, at 4.70:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.097) |
| Temperature | cool |
| Nearest name | Cerulean (#457B9D) |
| Black text | 4.70:1 |
| White text | 4.46:1 |
Values
| HEX | #2F7FA6 |
| RGB | rgb(47, 127, 166) |
| HSL | hsl(200, 56%, 42%) |
| OKLCH | oklch(56.5% 0.097 233.6) |
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 #2F7FA6 | 4.46:1 | AA large text | Lc -76.1 | Fine for body text |
| Black text on #2F7FA6 | 4.70:1 | AA | Lc 33.4 | Non-text elements, placeholder text |
| #2F7FA6 text on white | 4.46:1 | AA large text | Lc 70.7 | Content text, not long reading |
| #2F7FA6 text on black | 4.70:1 | AA | Lc -31.0 | 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 600.
-
Step 50
50
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E2EBF1
oklch(93.5% 0.013 236.6)
-
Step 200
200
#CADCE7
oklch(88.4% 0.025 234.5)
-
Step 300
300
#A6C6D9
oklch(80.9% 0.044 234.1)
-
Step 400
400
#74A8C6
oklch(70.6% 0.07 234.4)
-
Step 500
500
#4D92B7
oklch(63% 0.089 234.1)
-
Step 600
600 (this color)
#2F7FA6
oklch(56.5% 0.097 233.6)
-
Step 700
700
#1D698C
oklch(49.2% 0.09 233.3)
-
Step 800
800
#1B5571
oklch(42.6% 0.075 233.6)
-
Step 900
900
#1D475C
oklch(37.8% 0.059 233.1)
-
Step 950
950
#122936
oklch(26.9% 0.038 235.3)
#2F7FA6 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) | #6C7EA8 | 0.062 |
| Deuteranopia (no green cones) | #5C72A5 | 0.053 |
| Tritanopia (no blue cones) | #00898C | 0.060 |
| Achromatopsia (no color) | #777777 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F7FA6
#2F7FA6
oklch(56.5% 0.097 233.6)
- #A2653C
#A2653C
oklch(56.5% 0.097 53.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 #2F7FA6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean #457B9D ΔE 0.021
- Nice Blue #107AB0 ΔE 0.029
- Stormy Blue #507B9C ΔE 0.030
- Steel Blue #4682B4 ΔE 0.031
- Blue NCS #118AB2 ΔE 0.032
- Dull Blue #49759C ΔE 0.033
- Teal Blue #01889F ΔE 0.034
- Flat Blue #3C73A8 ΔE 0.036
Use #2F7FA6 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.