#305BA8
Closest named color: Denim Blue (#3B5B92). oklch(48.2% 0.133 261), rgb(48, 91, 168).
Aa
White text reads best on this color (6.58:1).
About this color
#305BA8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.133 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.037 away. White text reads best on it, at 6.58:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.133) |
| Temperature | cool |
| Nearest name | Denim Blue (#3B5B92) |
| Black text | 3.18:1 |
| White text | 6.58:1 |
Values
| HEX | #305BA8 |
| RGB | rgb(48, 91, 168) |
| HSL | hsl(218, 56%, 42%) |
| OKLCH | oklch(48.2% 0.133 261) |
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 #305BA8 | 6.58:1 | AA | Lc -87.3 | Fine for body text |
| Black text on #305BA8 | 3.18:1 | AA large text | Lc 21.8 | Dividers and decoration only |
| #305BA8 text on white | 6.58:1 | AA | Lc 82.3 | Fine for body text |
| #305BA8 text on black | 3.18:1 | AA large text | Lc -19.6 | 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 700.
-
Step 50
50
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E3EAF7
oklch(93.6% 0.019 263)
-
Step 200
200
#CCDAF1
oklch(88.5% 0.035 260.4)
-
Step 300
300
#A9C2EB
oklch(80.9% 0.064 260.3)
-
Step 400
400
#7CA1E1
oklch(70.7% 0.103 261)
-
Step 500
500
#5B88D8
oklch(63.1% 0.131 261.2)
-
Step 600
600
#4170C6
oklch(55.6% 0.143 261.4)
-
Step 700
700 (this color)
#305BA8
oklch(48.2% 0.133 261)
-
Step 800
800
#2A4D8A
oklch(42.7% 0.109 260.7)
-
Step 900
900
#26406F
oklch(37.6% 0.087 261.3)
-
Step 950
950
#172641
oklch(27% 0.055 261.4)
#305BA8 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) | #3463AB | 0.023 |
| Deuteranopia (no green cones) | #1C58A6 | 0.019 |
| Tritanopia (no blue cones) | #006D79 | 0.106 |
| Achromatopsia (no color) | #5D5D5D | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #305BA8
#305BA8
oklch(48.2% 0.133 261)
- #7B5700
#7B5700
oklch(48.3% 0.1 80.7)
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 #305BA8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim Blue #3B5B92 ΔE 0.037
- Mid Blue #276AB3 ΔE 0.042
- Dusky Blue #475F94 ΔE 0.044
- Dusk Blue #26538D ΔE 0.049
- French Blue #436BAD ΔE 0.052
- Light Navy Blue #2E5A88 ΔE 0.052
- Peacock Blue #016795 ΔE 0.054
- Denim #3B638C ΔE 0.056
Use #305BA8 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.