#303D98
Closest named color: Blueberry (#464196). oklch(40.7% 0.148 271.9), rgb(48, 61, 152).
Aa
White text reads best on this color (9.34:1).
About this color
#303D98 is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.148 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.035 away. White text reads best on it, at 9.34:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | vivid (0.148) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.24:1 |
| White text | 9.34:1 |
Values
| HEX | #303D98 |
| RGB | rgb(48, 61, 152) |
| HSL | hsl(233, 52%, 39%) |
| OKLCH | oklch(40.7% 0.148 271.9) |
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 #303D98 | 9.34:1 | AAA | Lc -95.5 | Preferred for body text |
| Black text on #303D98 | 2.24:1 | Fails | Lc 12.8 | Not readable |
| #303D98 text on white | 9.34:1 | AAA | Lc 91.2 | Preferred for body text |
| #303D98 text on black | 2.24:1 | Fails | Lc -11.2 | 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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CED8FA
oklch(88.5% 0.048 272.4)
-
Step 300
300
#ADBEF9
oklch(81% 0.086 271.9)
-
Step 400
400
#829AF7
oklch(70.8% 0.139 271.5)
-
Step 500
500
#667DF3
oklch(63.1% 0.177 272.1)
-
Step 600
600
#4F63E2
oklch(55.6% 0.193 271.8)
-
Step 700
700
#4051C4
oklch(49.1% 0.179 271.7)
-
Step 800
800 (this color)
#303D98
oklch(40.7% 0.148 271.9)
-
Step 900
900
#2D3A7E
oklch(37.7% 0.116 271.6)
-
Step 950
950
#1A224A
oklch(26.9% 0.075 272)
#303D98 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) | #004B9B | 0.044 |
| Deuteranopia (no green cones) | #004296 | 0.036 |
| Tritanopia (no blue cones) | #005364 | 0.121 |
| Achromatopsia (no color) | #474747 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #303D98
#303D98
oklch(40.7% 0.148 271.9)
- #5A4700
#5A4700
oklch(40.6% 0.083 91.2)
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 #303D98, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.035
- Cobalt #1E488F ΔE 0.036
- Sapphire #2138AB ΔE 0.038
- Dark Slate Blue #483D8B ΔE 0.042
- Twilight Blue #0A437A ΔE 0.063
- Dusk Blue #26538D ΔE 0.064
- Light Navy #155084 ΔE 0.067
- Indigo Blue #3A18B1 ΔE 0.073
Use #303D98 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.