#3A3D98
Closest named color: Blueberry (#464196). oklch(41.3% 0.146 276.5), rgb(58, 61, 152).
Aa
White text reads best on this color (9.12:1).
About this color
#3A3D98 is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.146 and its hue 277°. 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 9.12:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | vivid (0.146) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.30:1 |
| White text | 9.12:1 |
Values
| HEX | #3A3D98 |
| RGB | rgb(58, 61, 152) |
| HSL | hsl(238, 45%, 41%) |
| OKLCH | oklch(41.3% 0.146 276.5) |
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 #3A3D98 | 9.12:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #3A3D98 | 2.30:1 | Fails | Lc 13.3 | Not readable |
| #3A3D98 text on white | 9.12:1 | AAA | Lc 90.6 | Preferred for body text |
| #3A3D98 text on black | 2.30:1 | Fails | Lc -11.7 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E5E9FB
oklch(93.6% 0.025 275.9)
-
Step 200
200
#D0D7F9
oklch(88.5% 0.047 276.2)
-
Step 300
300
#B2BCF8
oklch(80.9% 0.086 277)
-
Step 400
400
#8B97F4
oklch(70.6% 0.136 276.7)
-
Step 500
500
#707BF0
oklch(63.1% 0.173 276.2)
-
Step 600
600
#5B60DF
oklch(55.6% 0.19 276.6)
-
Step 700
700
#4B4EC1
oklch(49% 0.176 276.6)
-
Step 800
800 (this color)
#3A3D98
oklch(41.3% 0.146 276.5)
-
Step 900
900
#34387C
oklch(37.6% 0.113 276.9)
-
Step 950
950
#1E2249
oklch(27.1% 0.072 276.1)
#3A3D98 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) | #004C9B | 0.054 |
| Deuteranopia (no green cones) | #004496 | 0.049 |
| Tritanopia (no blue cones) | #005364 | 0.125 |
| Achromatopsia (no color) | #484848 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A3D98
#3A3D98
oklch(41.3% 0.146 276.5)
- #594B00
#594B00
oklch(41.5% 0.085 96.8)
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 #3A3D98, 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.031
- Cobalt #1E488F ΔE 0.043
- Sapphire #2138AB ΔE 0.046
- Dusk Blue #26538D ΔE 0.065
- Twilight #4E518B ΔE 0.070
- Light Navy #155084 ΔE 0.071
- Twilight Blue #0A437A ΔE 0.071
Use #3A3D98 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.