#2877AF
Closest named color: Nice Blue (#107AB0). oklch(54.9% 0.115 244), rgb(40, 119, 175).
Aa
White text reads best on this color (4.82:1).
About this color
#2877AF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.115 and its hue 244°. 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.82:1.
| Hue family | Blues |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.115) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.34:1 |
| White text | 4.82:1 |
Values
| HEX | #2877AF |
| RGB | rgb(40, 119, 175) |
| HSL | hsl(205, 63%, 42%) |
| OKLCH | oklch(54.9% 0.115 244) |
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 #2877AF | 4.82:1 | AA | Lc -78.6 | Fine for body text |
| Black text on #2877AF | 4.34:1 | AA large text | Lc 30.9 | Non-text elements, placeholder text |
| #2877AF text on white | 4.82:1 | AA | Lc 73.1 | Content text, not long reading |
| #2877AF text on black | 4.34:1 | AA large text | Lc -28.5 | 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
#CADCEB
oklch(88.6% 0.028 243.1)
-
Step 300
300
#A5C5E0
oklch(80.9% 0.052 243.9)
-
Step 400
400
#73A7D1
oklch(70.8% 0.083 243.7)
-
Step 500
500
#4C90C5
oklch(63.1% 0.106 244.2)
-
Step 600
600 (this color)
#2877AF
oklch(54.9% 0.115 244)
-
Step 700
700
#1C6699
oklch(49.2% 0.108 244)
-
Step 800
800
#1A537C
oklch(42.6% 0.089 244.3)
-
Step 900
900
#1D4563
oklch(37.7% 0.068 243.8)
-
Step 950
950
#12293A
oklch(27.1% 0.043 242.6)
#2877AF 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) | #5D79B1 | 0.051 |
| Deuteranopia (no green cones) | #4A6CAE | 0.039 |
| Tritanopia (no blue cones) | #00858B | 0.081 |
| Achromatopsia (no color) | #727272 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2877AF
#2877AF
oklch(54.9% 0.115 244)
- #9F6017
#9F6017
oklch(54.8% 0.115 63.5)
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 #2877AF, 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.028
- Windows Blue #3778BF ΔE 0.028
- French Blue #436BAD ΔE 0.037
- Dull Blue #49759C ΔE 0.037
- Ocean Blue #03719C ΔE 0.038
- Mid Blue #276AB3 ΔE 0.039
Use #2877AF 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.