#2F7BAB
Closest named color: Nice Blue (#107AB0). oklch(55.8% 0.105 240.3), rgb(47, 123, 171).
Aa
White text reads best on this color (4.62:1).
About this color
#2F7BAB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.105 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.017 away. White text reads best on it, at 4.62:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.105) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.54:1 |
| White text | 4.62:1 |
Values
| HEX | #2F7BAB |
| RGB | rgb(47, 123, 171) |
| HSL | hsl(203, 57%, 43%) |
| OKLCH | oklch(55.8% 0.105 240.3) |
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 #2F7BAB | 4.62:1 | AA | Lc -77.3 | Fine for body text |
| Black text on #2F7BAB | 4.54:1 | AA | Lc 32.3 | Non-text elements, placeholder text |
| #2F7BAB text on white | 4.62:1 | AA | Lc 71.8 | Content text, not long reading |
| #2F7BAB text on black | 4.54:1 | AA | Lc -29.9 | Dividers and decoration only |
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
#E2EBF2
oklch(93.5% 0.014 241)
-
Step 200
200
#CADCE9
oklch(88.5% 0.026 239.1)
-
Step 300
300
#A6C5DD
oklch(80.9% 0.048 241.5)
-
Step 400
400
#75A7CB
oklch(70.6% 0.075 240.4)
-
Step 500
500
#4E91BE
oklch(63.1% 0.096 240.1)
-
Step 600
600 (this color)
#2F7BAB
oklch(55.8% 0.105 240.3)
-
Step 700
700
#206792
oklch(49.1% 0.097 240.1)
-
Step 800
800
#1D5477
oklch(42.7% 0.081 240.6)
-
Step 900
900
#1E4660
oklch(37.8% 0.063 239.9)
-
Step 950
950
#132938
oklch(27% 0.04 240.2)
#2F7BAB 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) | #657BAD | 0.055 |
| Deuteranopia (no green cones) | #546FAA | 0.045 |
| Tritanopia (no blue cones) | #00878C | 0.071 |
| Achromatopsia (no color) | #757575 | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F7BAB
#2F7BAB
oklch(55.8% 0.105 240.3)
- #A0642C
#A0642C
oklch(55.9% 0.105 60.7)
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 #2F7BAB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Nice Blue #107AB0 ΔE 0.017
- Flat Blue #3C73A8 ΔE 0.023
- Cerulean #457B9D ΔE 0.027
- Dull Blue #49759C ΔE 0.030
- Muted Blue #3B719F ΔE 0.030
- Steel Blue #4682B4 ΔE 0.032
- Windows Blue #3778BF ΔE 0.035
- Stormy Blue #507B9C ΔE 0.036
Use #2F7BAB 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.