#302A6D
Closest named color: Marine (#042E60). oklch(33.3% 0.112 282.5), rgb(48, 42, 109).
Aa
White text reads best on this color (12.51:1).
About this color
#302A6D is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.112 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.056 away. White text reads best on it, at 12.51:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Marine (#042E60) |
| Black text | 1.67:1 |
| White text | 12.51:1 |
Values
| HEX | #302A6D |
| RGB | rgb(48, 42, 109) |
| HSL | hsl(245, 44%, 30%) |
| OKLCH | oklch(33.3% 0.112 282.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 #302A6D | 12.51:1 | AAA | Lc -101.6 | Preferred for body text |
| Black text on #302A6D | 1.67:1 | Fails | Lc 0.0 | Not readable |
| #302A6D text on white | 12.51:1 | AAA | Lc 98.1 | Preferred for body text |
| #302A6D text on black | 1.67: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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E7E8FA
oklch(93.6% 0.024 283.4)
-
Step 200
200
#D4D6F8
oklch(88.5% 0.047 282.7)
-
Step 300
300
#B8BAF6
oklch(80.8% 0.084 282.8)
-
Step 400
400
#9594F2
oklch(70.7% 0.136 282.8)
-
Step 500
500
#7D77ED
oklch(63.1% 0.172 282.6)
-
Step 600
600
#685CDB
oklch(55.5% 0.187 282.7)
-
Step 700
700
#574BBE
oklch(49.1% 0.174 282.6)
-
Step 800
800
#473E9A
oklch(42.7% 0.145 282.8)
-
Step 900
900 (this color)
#302A6D
oklch(33.3% 0.112 282.5)
-
Step 950
950
#222048
oklch(26.9% 0.072 282.7)
#302A6D 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) | #00366F | 0.053 |
| Deuteranopia (no green cones) | #00316C | 0.051 |
| Tritanopia (no blue cones) | #163A47 | 0.096 |
| Achromatopsia (no color) | #343434 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #302A6D
#302A6D
oklch(33.3% 0.112 282.5)
- #3D3700
#3D3700
oklch(33.3% 0.07 102.7)
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 #302A6D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine #042E60 ΔE 0.056
- Marine Blue #01386A ΔE 0.057
- Prussian Blue #1D3557 ΔE 0.059
- Midnight Blue #191970 ΔE 0.059
- Twilight Blue #0A437A ΔE 0.074
- Space Cadet #2B2D42 ΔE 0.080
- Royal Purple #4B006E ΔE 0.082
- Indigo #4B0082 ΔE 0.082
Use #302A6D 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.