#304C78
Closest named color: Light Navy (#155084). oklch(41.6% 0.081 259.1), rgb(48, 76, 120).
Aa
White text reads best on this color (8.63:1).
About this color
#304C78 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.081 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.028 away. White text reads best on it, at 8.63:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.081) |
| Temperature | cool |
| Nearest name | Light Navy (#155084) |
| Black text | 2.43:1 |
| White text | 8.63:1 |
Values
| HEX | #304C78 |
| RGB | rgb(48, 76, 120) |
| HSL | hsl(217, 43%, 33%) |
| OKLCH | oklch(41.6% 0.081 259.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 #304C78 | 8.63:1 | AAA | Lc -94.0 | Preferred for body text |
| Black text on #304C78 | 2.43:1 | Fails | Lc 14.5 | Not readable |
| #304C78 text on white | 8.63:1 | AAA | Lc 89.5 | Fine for body text |
| #304C78 text on black | 2.43:1 | Fails | Lc -12.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
#F3F6FA
oklch(97.2% 0.006 255.5)
-
Step 100
100
#E4EAF3
oklch(93.5% 0.014 258.3)
-
Step 200
200
#CFDAEB
oklch(88.5% 0.026 259)
-
Step 300
300
#AFC2E0
oklch(80.9% 0.047 259.5)
-
Step 400
400
#84A2D0
oklch(70.7% 0.076 258.8)
-
Step 500
500
#658AC4
oklch(63% 0.097 259.1)
-
Step 600
600
#4C73B1
oklch(55.5% 0.107 259.3)
-
Step 700
700
#3D6198
oklch(49.2% 0.098 258.6)
-
Step 800
800 (this color)
#304C78
oklch(41.6% 0.081 259.1)
-
Step 900
900
#2D4263
oklch(37.7% 0.063 259.2)
-
Step 950
950
#1A273A
oklch(27% 0.04 257.8)
#304C78 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) | #3A4F7A | 0.017 |
| Deuteranopia (no green cones) | #314977 | 0.009 |
| Tritanopia (no blue cones) | #00565C | 0.072 |
| Achromatopsia (no color) | #4C4C4C | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304C78
#304C78
oklch(41.6% 0.081 259.1)
- #63460A
#63460A
oklch(41.6% 0.081 79.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 #304C78, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Navy #155084 ΔE 0.028
- Deep Sea Blue #015482 ΔE 0.035
- Dusk Blue #26538D ΔE 0.037
- Light Navy Blue #2E5A88 ΔE 0.045
- Cobalt #1E488F ΔE 0.045
- Twilight Blue #0A437A ΔE 0.046
- YInMn Blue #415A77 ΔE 0.051
- Dark Grey Blue #29465B ΔE 0.051
Use #304C78 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.