#2875DF
Closest named color: Royal Blue (#4169E1). oklch(57.4% 0.178 257.8), rgb(40, 117, 223).
Aa
Black text reads best on this color (4.70:1).
About this color
#2875DF is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.178 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.033 away. Black text reads best on it, at 4.70:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.178) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.70:1 |
| White text | 4.46:1 |
Values
| HEX | #2875DF |
| RGB | rgb(40, 117, 223) |
| HSL | hsl(215, 74%, 52%) |
| OKLCH | oklch(57.4% 0.178 257.8) |
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 #2875DF | 4.46:1 | AA large text | Lc -76.0 | Fine for body text |
| Black text on #2875DF | 4.70:1 | AA | Lc 33.6 | Non-text elements, placeholder text |
| #2875DF text on white | 4.46:1 | AA large text | Lc 70.5 | Content text, not long reading |
| #2875DF text on black | 4.70:1 | AA | Lc -31.2 | 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
#E0EBFA
oklch(93.6% 0.024 256.1)
-
Step 200
200
#C7DBF7
oklch(88.5% 0.044 256.8)
-
Step 300
300
#A1C3F5
oklch(81% 0.08 257.9)
-
Step 400
400
#6CA2F0
oklch(70.8% 0.129 257.6)
-
Step 500
500
#4388EA
oklch(63.1% 0.163 257.6)
-
Step 600
600 (this color)
#2875DF
oklch(57.4% 0.178 257.8)
-
Step 700
700
#135CBC
oklch(49% 0.166 257.9)
-
Step 800
800
#144C98
oklch(42.7% 0.137 257.8)
-
Step 900
900
#184079
oklch(37.7% 0.107 257.9)
-
Step 950
950
#0F2647
oklch(27% 0.068 257.7)
#2875DF 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) | #3880E3 | 0.033 |
| Deuteranopia (no green cones) | #0070DD | 0.021 |
| Tritanopia (no blue cones) | #008F9F | 0.137 |
| Achromatopsia (no color) | #777777 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2875DF
#2875DF
oklch(57.4% 0.178 257.8)
- #9F6E00
#9F6E00
oklch(57.4% 0.12 77.9)
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 #2875DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.033
- Cerulean Blue #056EEE ΔE 0.033
- Clear Blue #247AFD ΔE 0.046
- Windows Blue #3778BF ΔE 0.052
- Neon Blue #4361EE ΔE 0.056
- Water Blue #0E87CC ΔE 0.061
- Bright Blue #0165FC ΔE 0.063
- Azul #1D5DEC ΔE 0.065
Use #2875DF 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.