#304579
Closest named color: Twilight Blue (#0A437A). oklch(40% 0.092 265.8), rgb(48, 69, 121).
Aa
White text reads best on this color (9.32:1).
About this color
#304579 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.092 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.034 away. White text reads best on it, at 9.32:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.092) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.25:1 |
| White text | 9.32:1 |
Values
| HEX | #304579 |
| RGB | rgb(48, 69, 121) |
| HSL | hsl(223, 43%, 33%) |
| OKLCH | oklch(40% 0.092 265.8) |
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 #304579 | 9.32:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #304579 | 2.25:1 | Fails | Lc 12.6 | Not readable |
| #304579 text on white | 9.32:1 | AAA | Lc 91.4 | Preferred for body text |
| #304579 text on black | 2.25:1 | Fails | Lc -11.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
#F2F5FC
oklch(97% 0.01 267.4)
-
Step 100
100
#E4EAF8
oklch(93.7% 0.02 267.3)
-
Step 200
200
#CDD9F3
oklch(88.4% 0.038 265.8)
-
Step 300
300
#ACC0EE
oklch(80.9% 0.069 266.5)
-
Step 400
400
#809FE6
oklch(70.8% 0.11 265.7)
-
Step 500
500
#6185DE
oklch(63.1% 0.14 265.9)
-
Step 600
600
#486DCC
oklch(55.6% 0.153 265.7)
-
Step 700
700
#3A5AB0
oklch(49% 0.142 266)
-
Step 800
800
#304A8F
oklch(42.7% 0.118 266)
-
Step 900
900 (this color)
#304579
oklch(40% 0.092 265.8)
-
Step 950
950
#192543
oklch(27% 0.058 266.1)
#304579 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) | #2F4A7B | 0.015 |
| Deuteranopia (no green cones) | #254478 | 0.014 |
| Tritanopia (no blue cones) | #005159 | 0.082 |
| Achromatopsia (no color) | #474747 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304579
#304579
oklch(40% 0.092 265.8)
- #5B4400
#5B4400
oklch(40% 0.082 86.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 #304579, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.034
- Light Navy #155084 ΔE 0.038
- Cobalt #1E488F ΔE 0.039
- Dusk Blue #26538D ΔE 0.047
- Deep Sea Blue #015482 ΔE 0.049
- Dark Slate Blue #483D8B ΔE 0.052
- Dark Grey Blue #29465B ΔE 0.054
- Blueberry #464196 ΔE 0.060
Use #304579 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.