#2873DB
Closest named color: Royal Blue (#4169E1). oklch(56.7% 0.175 257.8), rgb(40, 115, 219).
Aa
White text reads best on this color (4.59:1).
About this color
#2873DB is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.175 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.031 away. White text reads best on it, at 4.59:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.175) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.56:1 |
| White text | 4.59:1 |
Values
| HEX | #2873DB |
| RGB | rgb(40, 115, 219) |
| HSL | hsl(215, 71%, 51%) |
| OKLCH | oklch(56.7% 0.175 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 #2873DB | 4.59:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #2873DB | 4.56:1 | AA | Lc 32.7 | Non-text elements, placeholder text |
| #2873DB text on white | 4.59:1 | AA | Lc 71.4 | Content text, not long reading |
| #2873DB text on black | 4.56:1 | AA | Lc -30.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
#E1EBFA
oklch(93.7% 0.023 258.4)
-
Step 200
200
#C8DBF7
oklch(88.6% 0.044 258)
-
Step 300
300
#A1C3F4
oklch(81% 0.079 257.5)
-
Step 400
400
#6DA2EE
oklch(70.7% 0.126 257.4)
-
Step 500
500
#4588E9
oklch(63.1% 0.161 257.9)
-
Step 600
600 (this color)
#2873DB
oklch(56.7% 0.175 257.8)
-
Step 700
700
#165DBB
oklch(49.2% 0.163 257.7)
-
Step 800
800
#164C97
oklch(42.7% 0.135 258)
-
Step 900
900
#194078
oklch(37.6% 0.105 257.9)
-
Step 950
950
#102646
oklch(27% 0.066 257.9)
#2873DB 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) | #377EDF | 0.033 |
| Deuteranopia (no green cones) | #006ED9 | 0.022 |
| Tritanopia (no blue cones) | #008C9C | 0.134 |
| Achromatopsia (no color) | #757575 | 0.175 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2873DB
#2873DB
oklch(56.7% 0.175 257.8)
- #9C6C00
#9C6C00
oklch(56.7% 0.118 78)
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 #2873DB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.031
- Cerulean Blue #056EEE ΔE 0.035
- Windows Blue #3778BF ΔE 0.048
- Clear Blue #247AFD ΔE 0.053
- Neon Blue #4361EE ΔE 0.055
- Water Blue #0E87CC ΔE 0.062
- Azul #1D5DEC ΔE 0.062
- Mid Blue #276AB3 ΔE 0.064
Use #2873DB 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.