#342764
Closest named color: Prussian Blue (#1D3557). oklch(32.4% 0.103 289.1), rgb(52, 39, 100).
Aa
White text reads best on this color (12.96:1).
About this color
#342764 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.103 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.058 away. White text reads best on it, at 12.96:1.
| Hue family | Purples |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.103) |
| Temperature | cool |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.62:1 |
| White text | 12.96:1 |
Values
| HEX | #342764 |
| RGB | rgb(52, 39, 100) |
| HSL | hsl(253, 44%, 27%) |
| OKLCH | oklch(32.4% 0.103 289.1) |
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 #342764 | 12.96:1 | AAA | Lc -102.2 | Preferred for body text |
| Black text on #342764 | 1.62:1 | Fails | Lc 0.0 | Not readable |
| #342764 text on white | 12.96:1 | AAA | Lc 98.9 | Preferred for body text |
| #342764 text on black | 1.62:1 | Fails | Lc 0.0 | 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 900.
-
Step 50
50
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#E9E8F8
oklch(93.6% 0.021 288.9)
-
Step 200
200
#D8D5F4
oklch(88.5% 0.042 289.9)
-
Step 300
300
#BEB9F0
oklch(80.9% 0.077 288.7)
-
Step 400
400
#9F93E9
oklch(70.8% 0.124 289.2)
-
Step 500
500
#8975E2
oklch(63.1% 0.159 289.5)
-
Step 600
600
#745BCF
oklch(55.5% 0.172 289.5)
-
Step 700
700
#614AB4
oklch(49% 0.161 289.1)
-
Step 800
800
#4F3E91
oklch(42.7% 0.131 289)
-
Step 900
900 (this color)
#342764
oklch(32.4% 0.103 289.1)
-
Step 950
950
#262044
oklch(27% 0.065 288.9)
#342764 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) | #023366 | 0.061 |
| Deuteranopia (no green cones) | #033063 | 0.060 |
| Tritanopia (no blue cones) | #253541 | 0.086 |
| Achromatopsia (no color) | #313131 | 0.104 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #342764
#342764
oklch(32.4% 0.103 289.1)
- #373600
#373600
oklch(32.3% 0.07 108.6)
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 #342764, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.058
- Marine #042E60 ΔE 0.060
- Midnight Blue #191970 ΔE 0.064
- Marine Blue #01386A ΔE 0.067
- Space Cadet #2B2D42 ΔE 0.069
- Royal Purple #4B006E ΔE 0.075
- Gunmetal #293241 ΔE 0.079
- Indigo #4B0082 ΔE 0.083
Use #342764 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.