#3D42E1
Closest named color: Majorelle Blue (#3F37C9). oklch(49% 0.234 272.4), rgb(61, 66, 225).
Aa
White text reads best on this color (6.85:1).
About this color
#3D42E1 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.234 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Majorelle Blue (#3F37C9), ΔE 0.044 away. White text reads best on it, at 6.85:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.234) |
| Temperature | cool |
| Nearest name | Majorelle Blue (#3F37C9) |
| Black text | 3.06:1 |
| White text | 6.85:1 |
Values
| HEX | #3D42E1 |
| RGB | rgb(61, 66, 225) |
| HSL | hsl(238, 73%, 56%) |
| OKLCH | oklch(49% 0.234 272.4) |
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 #3D42E1 | 6.85:1 | AA | Lc -87.8 | Fine for body text |
| Black text on #3D42E1 | 3.06:1 | AA large text | Lc 21.3 | Dividers and decoration only |
| #3D42E1 text on white | 6.85:1 | AA | Lc 82.7 | Fine for body text |
| #3D42E1 text on black | 3.06:1 | AA large text | Lc -19.2 | 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 700.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FF
oklch(93.6% 0.03 273.6)
-
Step 200
200
#CCD8FF
oklch(88.6% 0.055 271.8)
-
Step 300
300
#ABBDFF
oklch(80.9% 0.096 272.3)
-
Step 400
400
#8198FF
oklch(70.7% 0.153 272.5)
-
Step 500
500
#647AFF
oklch(63.2% 0.198 272.4)
-
Step 600
600
#4B56FF
oklch(55.6% 0.245 272.4)
-
Step 700
700 (this color)
#3D42E1
oklch(49% 0.234 272.4)
-
Step 800
800
#3239B6
oklch(42.8% 0.193 272.4)
-
Step 900
900
#2A3390
oklch(37.7% 0.152 272.5)
-
Step 950
950
#181F54
oklch(26.9% 0.096 272.5)
#3D42E1 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) | #0062E6 | 0.069 |
| Deuteranopia (no green cones) | #0052DE | 0.045 |
| Tritanopia (no blue cones) | #006F8D | 0.184 |
| Achromatopsia (no color) | #5A5A5A | 0.235 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3D42E1
#3D42E1
oklch(49% 0.234 272.4)
- #745E00
#745E00
oklch(49% 0.1 92.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 #3D42E1, closest first.
No curated palette has a color within ΔE 0.04 of #3D42E1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Majorelle Blue #3F37C9 ΔE 0.044
- Blurple #5539CC ΔE 0.050
- Light Royal Blue #3A2EFE ΔE 0.050
- Warm Blue #4B57DB ΔE 0.050
- Blue Blue #2242C7 ΔE 0.051
- Purpley Blue #5F34E7 ΔE 0.052
- Blue With A Hint Of Purple #533CC6 ΔE 0.054
- Vibrant Blue #0339F8 ΔE 0.058
Use #3D42E1 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.