#2878AB
Closest named color: Nice Blue (#107AB0). oklch(54.9% 0.11 241.3), rgb(40, 120, 171).
Aa
White text reads best on this color (4.81:1).
About this color
#2878AB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.110 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.012 away. White text reads best on it, at 4.81:1.
| Hue family | Blues |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.110) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.36:1 |
| White text | 4.81:1 |
Values
| HEX | #2878AB |
| RGB | rgb(40, 120, 171) |
| HSL | hsl(203, 62%, 41%) |
| OKLCH | oklch(54.9% 0.11 241.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 #2878AB | 4.81:1 | AA | Lc -78.5 | Fine for body text |
| Black text on #2878AB | 4.36:1 | AA large text | Lc 31.0 | Non-text elements, placeholder text |
| #2878AB text on white | 4.81:1 | AA | Lc 73.0 | Content text, not long reading |
| #2878AB text on black | 4.36:1 | AA large text | Lc -28.7 | 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
#F2F6FA
oklch(97.1% 0.007 247.9)
-
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
#73A7CE
oklch(70.7% 0.08 241.7)
-
Step 500
500
#4C91C1
oklch(63.2% 0.101 241.2)
-
Step 600
600 (this color)
#2878AB
oklch(54.9% 0.11 241.3)
-
Step 700
700
#1C6795
oklch(49.2% 0.102 241.1)
-
Step 800
800
#1A5479
oklch(42.7% 0.085 241.2)
-
Step 900
900
#1D4661
oklch(37.8% 0.065 240.4)
-
Step 950
950
#122939
oklch(27% 0.042 241)
#2878AB 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) | #6079AD | 0.054 |
| Deuteranopia (no green cones) | #4E6DAA | 0.042 |
| Tritanopia (no blue cones) | #00858A | 0.075 |
| Achromatopsia (no color) | #727272 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2878AB
#2878AB
oklch(54.9% 0.11 241.3)
- #9E6023
#9E6023
oklch(54.8% 0.109 61)
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 #2878AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Nice Blue #107AB0 ΔE 0.012
- Flat Blue #3C73A8 ΔE 0.018
- Muted Blue #3B719F ΔE 0.025
- Dull Blue #49759C ΔE 0.033
- Cerulean #457B9D ΔE 0.034
- Windows Blue #3778BF ΔE 0.034
- Ocean Blue #03719C ΔE 0.035
- Sea Blue #047495 ΔE 0.040
Use #2878AB 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.