#304D8E
Closest named color: Dusk Blue (#26538D). oklch(43.3% 0.113 264.2), rgb(48, 77, 142).
Aa
White text reads best on this color (8.14:1).
About this color
#304D8E is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.113 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.019 away. White text reads best on it, at 8.14:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.113) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.57:1 |
| White text | 8.14:1 |
Values
| HEX | #304D8E |
| RGB | rgb(48, 77, 142) |
| HSL | hsl(221, 49%, 37%) |
| OKLCH | oklch(43.3% 0.113 264.2) |
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 #304D8E | 8.14:1 | AAA | Lc -92.6 | Preferred for body text |
| Black text on #304D8E | 2.57:1 | Fails | Lc 16.1 | Dividers and decoration only |
| #304D8E text on white | 8.14:1 | AAA | Lc 87.9 | Fine for body text |
| #304D8E text on black | 2.57:1 | Fails | Lc -14.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
#F2F5FC
oklch(97% 0.01 267.4)
-
Step 100
100
#E3EAF7
oklch(93.6% 0.019 263)
-
Step 200
200
#CDD9F2
oklch(88.4% 0.037 265.1)
-
Step 300
300
#ABC1EC
oklch(80.9% 0.066 263.7)
-
Step 400
400
#7FA0E3
oklch(70.8% 0.105 263.8)
-
Step 500
500
#5F86DB
oklch(63% 0.136 264.3)
-
Step 600
600
#466EC8
oklch(55.5% 0.147 264.2)
-
Step 700
700
#385CAD
oklch(49.1% 0.136 264)
-
Step 800
800 (this color)
#304D8E
oklch(43.3% 0.113 264.2)
-
Step 900
900
#293F70
oklch(37.6% 0.089 264.3)
-
Step 950
950
#182542
oklch(26.9% 0.057 264.6)
#304D8E 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) | #2E5490 | 0.020 |
| Deuteranopia (no green cones) | #1E4B8D | 0.019 |
| Tritanopia (no blue cones) | #005C66 | 0.095 |
| Achromatopsia (no color) | #4F4F4F | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304D8E
#304D8E
oklch(43.3% 0.113 264.2)
- #674B00
#674B00
oklch(43.1% 0.089 83.9)
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 #304D8E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.019
- Cobalt #1E488F ΔE 0.025
- Light Navy #155084 ΔE 0.030
- Light Navy Blue #2E5A88 ΔE 0.041
- Deep Sea Blue #015482 ΔE 0.042
- Twilight #4E518B ΔE 0.043
- Blueberry #464196 ΔE 0.044
- Denim Blue #3B5B92 ΔE 0.044
Use #304D8E 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.