#2875DA
Closest named color: Royal Blue (#4169E1). oklch(57.1% 0.172 257), rgb(40, 117, 218).
Aa
Black text reads best on this color (4.64:1).
About this color
#2875DA is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.172 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.036 away. Black text reads best on it, at 4.64:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.172) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.64:1 |
| White text | 4.51:1 |
Values
| HEX | #2875DA |
| RGB | rgb(40, 117, 218) |
| HSL | hsl(214, 71%, 51%) |
| OKLCH | oklch(57.1% 0.172 257) |
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 #2875DA | 4.51:1 | AA | Lc -76.3 | Fine for body text |
| Black text on #2875DA | 4.64:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #2875DA text on white | 4.51:1 | AA | Lc 70.9 | Content text, not long reading |
| #2875DA text on black | 4.64:1 | AA | Lc -30.8 | 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E1EBF9
oklch(93.7% 0.022 256.7)
-
Step 200
200
#C8DBF6
oklch(88.6% 0.043 257.1)
-
Step 300
300
#A1C3F3
oklch(80.9% 0.078 257)
-
Step 400
400
#6DA2ED
oklch(70.7% 0.124 257.2)
-
Step 500
500
#4489E7
oklch(63.1% 0.158 256.9)
-
Step 600
600 (this color)
#2875DA
oklch(57.1% 0.172 257)
-
Step 700
700
#145DB9
oklch(49% 0.161 257.2)
-
Step 800
800
#154D95
oklch(42.7% 0.131 256.9)
-
Step 900
900
#194177
oklch(37.8% 0.103 257)
-
Step 950
950
#102646
oklch(27% 0.066 257.9)
#2875DA 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) | #3D7FDE | 0.033 |
| Deuteranopia (no green cones) | #046FD8 | 0.023 |
| Tritanopia (no blue cones) | #008D9D | 0.130 |
| Achromatopsia (no color) | #767676 | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2875DA
#2875DA
oklch(57.1% 0.172 257)
- #9E6D00
#9E6D00
oklch(57.1% 0.119 77.6)
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 #2875DA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.036
- Cerulean Blue #056EEE ΔE 0.039
- Windows Blue #3778BF ΔE 0.045
- Clear Blue #247AFD ΔE 0.053
- Water Blue #0E87CC ΔE 0.057
- Neon Blue #4361EE ΔE 0.060
- Mid Blue #276AB3 ΔE 0.064
- Azul #1D5DEC ΔE 0.068
Use #2875DA 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.