#3A3F9D
Closest named color: Blueberry (#464196). oklch(42.1% 0.15 275.6), rgb(58, 63, 157).
Aa
White text reads best on this color (8.83:1).
About this color
#3A3F9D is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.150 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.023 away. White text reads best on it, at 8.83:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | vivid (0.150) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.37:1 |
| White text | 8.83:1 |
Values
| HEX | #3A3F9D |
| RGB | rgb(58, 63, 157) |
| HSL | hsl(237, 46%, 42%) |
| OKLCH | oklch(42.1% 0.15 275.6) |
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 #3A3F9D | 8.83:1 | AAA | Lc -94.3 | Preferred for body text |
| Black text on #3A3F9D | 2.37:1 | Fails | Lc 14.2 | Not readable |
| #3A3F9D text on white | 8.83:1 | AAA | Lc 89.8 | Fine for body text |
| #3A3F9D text on black | 2.37:1 | Fails | Lc -12.5 | 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
#B0BCFA
oklch(80.8% 0.089 275.8)
-
Step 400
400
#8997F7
oklch(70.6% 0.141 275.9)
-
Step 500
500
#6E7AF4
oklch(63.1% 0.18 275.7)
-
Step 600
600
#5860E2
oklch(55.6% 0.194 275.4)
-
Step 700
700
#494EC5
oklch(49.2% 0.182 275.6)
-
Step 800
800 (this color)
#3A3F9D
oklch(42.1% 0.15 275.6)
-
Step 900
900
#32387E
oklch(37.7% 0.117 275.6)
-
Step 950
950
#1D214A
oklch(26.9% 0.075 275.9)
#3A3F9D 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) | #004FA0 | 0.054 |
| Deuteranopia (no green cones) | #00469B | 0.047 |
| Tritanopia (no blue cones) | #005668 | 0.126 |
| Achromatopsia (no color) | #4A4A4A | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A3F9D
#3A3F9D
oklch(42.1% 0.15 275.6)
- #5C4C00
#5C4C00
oklch(42% 0.086 95.1)
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 #3A3F9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.023
- Dark Slate Blue #483D8B ΔE 0.036
- Sapphire #2138AB ΔE 0.043
- Cobalt #1E488F ΔE 0.044
- Dusk Blue #26538D ΔE 0.064
- Twilight #4E518B ΔE 0.069
- Blue Blue #2242C7 ΔE 0.072
- Majorelle Blue #3F37C9 ΔE 0.072
Use #3A3F9D 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.