#2879AB
Closest named color: Nice Blue (#107AB0). oklch(55.1% 0.109 240.5), rgb(40, 121, 171).
Aa
White text reads best on this color (4.75:1).
About this color
#2879AB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.109 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.011 away. White text reads best on it, at 4.75:1.
| Hue family | Blues |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.109) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.41:1 |
| White text | 4.75:1 |
Values
| HEX | #2879AB |
| RGB | rgb(40, 121, 171) |
| HSL | hsl(203, 62%, 41%) |
| OKLCH | oklch(55.1% 0.109 240.5) |
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 #2879AB | 4.75:1 | AA | Lc -78.1 | Fine for body text |
| Black text on #2879AB | 4.41:1 | AA large text | Lc 31.4 | Non-text elements, placeholder text |
| #2879AB text on white | 4.75:1 | AA | Lc 72.7 | Content text, not long reading |
| #2879AB text on black | 4.41:1 | AA large text | Lc -29.0 | 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
#E2EBF3
oklch(93.6% 0.015 244.7)
-
Step 200
200
#CADCEA
oklch(88.5% 0.027 241.2)
-
Step 300
300
#A5C5DE
oklch(80.8% 0.049 241.8)
-
Step 400
400
#73A7CD
oklch(70.6% 0.078 241)
-
Step 500
500
#4B91C0
oklch(63.1% 0.1 240.3)
-
Step 600
600 (this color)
#2879AB
oklch(55.1% 0.109 240.5)
-
Step 700
700
#1B6794
oklch(49.1% 0.101 240.3)
-
Step 800
800
#1A5478
oklch(42.7% 0.084 240.5)
-
Step 900
900
#1C4661
oklch(37.8% 0.066 240)
-
Step 950
950
#122939
oklch(27% 0.042 241)
#2879AB 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) | #627AAD | 0.056 |
| Deuteranopia (no green cones) | #506DAA | 0.045 |
| Tritanopia (no blue cones) | #00858A | 0.073 |
| Achromatopsia (no color) | #737373 | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2879AB
#2879AB
oklch(55.1% 0.109 240.5)
- #9F6125
#9F6125
oklch(55.1% 0.109 60.8)
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 #2879AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Nice Blue #107AB0 ΔE 0.011
- Flat Blue #3C73A8 ΔE 0.020
- Muted Blue #3B719F ΔE 0.027
- Cerulean #457B9D ΔE 0.032
- Dull Blue #49759C ΔE 0.032
- Windows Blue #3778BF ΔE 0.035
- Ocean Blue #03719C ΔE 0.036
- Steel Blue #4682B4 ΔE 0.039
Use #2879AB 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.