#3A3E9D
Closest named color: Blueberry (#464196). oklch(41.9% 0.151 275.9), rgb(58, 62, 157).
Aa
White text reads best on this color (8.91:1).
About this color
#3A3E9D is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.151 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.024 away. White text reads best on it, at 8.91:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | vivid (0.151) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.35:1 |
| White text | 8.91:1 |
Values
| HEX | #3A3E9D |
| RGB | rgb(58, 62, 157) |
| HSL | hsl(238, 46%, 42%) |
| OKLCH | oklch(41.9% 0.151 275.9) |
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 #3A3E9D | 8.91:1 | AAA | Lc -94.5 | Preferred for body text |
| Black text on #3A3E9D | 2.35:1 | Fails | Lc 14.0 | Not readable |
| #3A3E9D text on white | 8.91:1 | AAA | Lc 90.0 | Preferred for body text |
| #3A3E9D text on black | 2.35:1 | Fails | Lc -12.3 | Not readable |
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 800.
-
Step 50
50
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E5E9FC
oklch(93.7% 0.026 276.4)
-
Step 200
200
#D0D7FA
oklch(88.5% 0.049 276.4)
-
Step 300
300
#B0BCFA
oklch(80.8% 0.089 275.8)
-
Step 400
400
#8997F8
oklch(70.7% 0.142 275.9)
-
Step 500
500
#6E7AF4
oklch(63.1% 0.18 275.7)
-
Step 600
600
#595FE3
oklch(55.6% 0.197 276)
-
Step 700
700
#494DC5
oklch(49% 0.183 275.8)
-
Step 800
800 (this color)
#3A3E9D
oklch(41.9% 0.151 275.9)
-
Step 900
900
#32387F
oklch(37.7% 0.118 275.5)
-
Step 950
950
#1D214A
oklch(26.9% 0.075 275.9)
#3A3E9D 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) | #004EA0 | 0.054 |
| Deuteranopia (no green cones) | #00459B | 0.048 |
| Tritanopia (no blue cones) | #005567 | 0.128 |
| Achromatopsia (no color) | #4A4A4A | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A3E9D
#3A3E9D
oklch(41.9% 0.151 275.9)
- #5B4C00
#5B4C00
oklch(41.9% 0.086 96)
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 #3A3E9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.024
- Dark Slate Blue #483D8B ΔE 0.036
- Sapphire #2138AB ΔE 0.042
- Cobalt #1E488F ΔE 0.045
- Dusk Blue #26538D ΔE 0.066
- Twilight #4E518B ΔE 0.071
- Majorelle Blue #3F37C9 ΔE 0.072
- Indigo Blue #3A18B1 ΔE 0.072
Use #3A3E9D 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.