#3A3E9B
Closest named color: Blueberry (#464196). oklch(41.8% 0.149 276), rgb(58, 62, 155).
Aa
White text reads best on this color (8.96:1).
About this color
#3A3E9B is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.149 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.022 away. White text reads best on it, at 8.96:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | vivid (0.149) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.34:1 |
| White text | 8.96:1 |
Values
| HEX | #3A3E9B |
| RGB | rgb(58, 62, 155) |
| HSL | hsl(238, 46%, 42%) |
| OKLCH | oklch(41.8% 0.149 276) |
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 #3A3E9B | 8.96:1 | AAA | Lc -94.6 | Preferred for body text |
| Black text on #3A3E9B | 2.34:1 | Fails | Lc 13.8 | Not readable |
| #3A3E9B text on white | 8.96:1 | AAA | Lc 90.2 | Preferred for body text |
| #3A3E9B text on black | 2.34:1 | Fails | Lc -12.1 | 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
#E5E9FB
oklch(93.6% 0.025 275.9)
-
Step 200
200
#D0D7FA
oklch(88.5% 0.049 276.4)
-
Step 300
300
#B1BCF9
oklch(80.8% 0.087 276.4)
-
Step 400
400
#8A97F6
oklch(70.6% 0.139 276.3)
-
Step 500
500
#6F7AF2
oklch(63% 0.177 276.1)
-
Step 600
600
#5960E1
oklch(55.6% 0.193 275.8)
-
Step 700
700
#4A4EC3
oklch(49.1% 0.179 276.1)
-
Step 800
800 (this color)
#3A3E9B
oklch(41.8% 0.149 276)
-
Step 900
900
#33387E
oklch(37.7% 0.117 276.2)
-
Step 950
950
#1D2149
oklch(26.8% 0.073 276)
#3A3E9B 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) | #004E9E | 0.054 |
| Deuteranopia (no green cones) | #004599 | 0.048 |
| Tritanopia (no blue cones) | #005566 | 0.127 |
| Achromatopsia (no color) | #494949 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A3E9B
#3A3E9B
oklch(41.8% 0.149 276)
- #5A4C00
#5A4C00
oklch(41.8% 0.086 96.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 #3A3E9B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.022
- Dark Slate Blue #483D8B ΔE 0.034
- Cobalt #1E488F ΔE 0.044
- Sapphire #2138AB ΔE 0.044
- Dusk Blue #26538D ΔE 0.065
- Twilight #4E518B ΔE 0.070
- Light Navy #155084 ΔE 0.072
- Indigo Blue #3A18B1 ΔE 0.073
Use #3A3E9B 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.