#3872EC
Closest named color: Royal Blue (#4169E1). oklch(58.2% 0.194 262.8), rgb(56, 114, 236).
Aa
Black text reads best on this color (4.78:1).
About this color
#3872EC is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.194 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.026 away. Black text reads best on it, at 4.78:1.
| Hue family | Blues |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.194) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.78:1 |
| White text | 4.38:1 |
Values
| HEX | #3872EC |
| RGB | rgb(56, 114, 236) |
| HSL | hsl(221, 83%, 57%) |
| OKLCH | oklch(58.2% 0.194 262.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 #3872EC | 4.38:1 | AA large text | Lc -75.4 | Fine for body text |
| Black text on #3872EC | 4.78:1 | AA | Lc 34.2 | Non-text elements, placeholder text |
| #3872EC text on white | 4.38:1 | AA large text | Lc 69.9 | Content text, not long reading |
| #3872EC text on black | 4.78:1 | AA | Lc -31.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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E1EAFB
oklch(93.5% 0.025 263.3)
-
Step 200
200
#C8DAFA
oklch(88.5% 0.048 262)
-
Step 300
300
#A3C1FA
oklch(80.9% 0.087 263)
-
Step 400
400
#719FF7
oklch(70.8% 0.139 262.4)
-
Step 500
500
#4C83F4
oklch(63% 0.179 262.8)
-
Step 600
600 (this color)
#3872EC
oklch(58.2% 0.194 262.8)
-
Step 700
700
#2457C5
oklch(49.1% 0.181 262.8)
-
Step 800
800
#1F489F
oklch(42.7% 0.149 262.8)
-
Step 900
900
#1E3D7F
oklch(37.7% 0.118 263)
-
Step 950
950
#12244A
oklch(26.9% 0.075 263.2)
#3872EC 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) | #1C81F0 | 0.038 |
| Deuteranopia (no green cones) | #0071EA | 0.025 |
| Tritanopia (no blue cones) | #0090A4 | 0.153 |
| Achromatopsia (no color) | #787878 | 0.195 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3872EC
#3872EC
oklch(58.2% 0.194 262.8)
- #9D7300
#9D7300
oklch(58.2% 0.12 83)
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 #3872EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.026
- Cerulean Blue #056EEE ΔE 0.028
- Clear Blue #247AFD ΔE 0.031
- Neon Blue #4361EE ΔE 0.040
- Bright Blue #0165FC ΔE 0.050
- Azul #1D5DEC ΔE 0.057
- Cornflower #6A79F7 ΔE 0.061
- Warm Blue #4B57DB ΔE 0.067
Use #3872EC 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.