#305C79
Closest named color: YInMn Blue (#415A77). oklch(45.6% 0.068 239.5), rgb(48, 92, 121).
Aa
White text reads best on this color (7.16:1).
About this color
#305C79 is a medium-dark, muted blue. In OKLCH its lightness is 46%, its chroma 0.068 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.019 away. White text reads best on it, at 7.16:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | muted (0.068) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.93:1 |
| White text | 7.16:1 |
Values
| HEX | #305C79 |
| RGB | rgb(48, 92, 121) |
| HSL | hsl(204, 43%, 33%) |
| OKLCH | oklch(45.6% 0.068 239.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 #305C79 | 7.16:1 | AAA | Lc -89.6 | Fine for body text |
| Black text on #305C79 | 2.93:1 | Fails | Lc 19.3 | Dividers and decoration only |
| #305C79 text on white | 7.16:1 | AAA | Lc 84.7 | Fine for body text |
| #305C79 text on black | 2.93:1 | Fails | Lc -17.3 | Dividers and decoration only |
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
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E3EBF1
oklch(93.6% 0.012 239.9)
-
Step 200
200
#CDDCE6
oklch(88.6% 0.021 236.8)
-
Step 300
300
#AAC5D8
oklch(80.9% 0.04 238.7)
-
Step 400
400
#7CA7C5
oklch(70.8% 0.064 239.2)
-
Step 500
500
#5990B6
oklch(63% 0.082 240)
-
Step 600
600
#3D7AA2
oklch(55.6% 0.089 239.8)
-
Step 700
700
#2E678A
oklch(49.2% 0.082 238.5)
-
Step 800
800 (this color)
#305C79
oklch(45.6% 0.068 239.5)
-
Step 900
900
#25455B
oklch(37.6% 0.054 240.3)
-
Step 950
950
#162935
oklch(27.1% 0.033 237.5)
#305C79 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) | #4F5C7A | 0.038 |
| Deuteranopia (no green cones) | #455478 | 0.032 |
| Tritanopia (no blue cones) | #006366 | 0.052 |
| Achromatopsia (no color) | #585858 | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #305C79
#305C79
oklch(45.6% 0.068 239.5)
- #734D2E
#734D2E
oklch(45.5% 0.068 59.1)
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 #305C79, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.019
- Light Navy Blue #2E5A88 ΔE 0.027
- Denim #3B638C ΔE 0.037
- Petrol #005F6A ΔE 0.041
- Deep Sea Blue #015482 ΔE 0.045
- Denim Blue #3B5B92 ΔE 0.045
- Dusty Grape #545775 ΔE 0.045
- Dusk #4E5481 ΔE 0.046
Use #305C79 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.