#305FEF
Closest named color: Azul (#1D5DEC). oklch(54.5% 0.222 265.4), rgb(48, 95, 239).
Aa
White text reads best on this color (5.23:1).
About this color
#305FEF is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.222 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.015 away. White text reads best on it, at 5.23:1.
| Hue family | Blues |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.222) |
| Temperature | cool |
| Nearest name | Azul (#1D5DEC) |
| Black text | 4.00:1 |
| White text | 5.23:1 |
Values
| HEX | #305FEF |
| RGB | rgb(48, 95, 239) |
| HSL | hsl(225, 86%, 56%) |
| OKLCH | oklch(54.5% 0.222 265.4) |
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 #305FEF | 5.23:1 | AA | Lc -80.7 | Fine for body text |
| Black text on #305FEF | 4.00:1 | AA large text | Lc 28.8 | Dividers and decoration only |
| #305FEF text on white | 5.23:1 | AA | Lc 75.3 | Fine for body text |
| #305FEF text on black | 4.00:1 | AA large text | Lc -26.4 | 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 600.
-
Step 50
50
#F1F6FF
oklch(97.2% 0.013 262.4)
-
Step 100
100
#E1EAFE
oklch(93.6% 0.029 266.4)
-
Step 200
200
#C8D9FF
oklch(88.5% 0.056 266.2)
-
Step 300
300
#A3C0FF
oklch(80.9% 0.095 265.2)
-
Step 400
400
#729CFF
oklch(70.6% 0.153 265.4)
-
Step 500
500
#4F7FFF
oklch(63.1% 0.197 265.6)
-
Step 600
600 (this color)
#305FEF
oklch(54.5% 0.222 265.4)
-
Step 700
700
#2750D3
oklch(49% 0.206 265.6)
-
Step 800
800
#2043AB
oklch(42.7% 0.171 265.3)
-
Step 900
900
#1E3A87
oklch(37.6% 0.133 265.3)
-
Step 950
950
#12234F
oklch(27% 0.084 265.3)
#305FEF 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) | #0075F4 | 0.051 |
| Deuteranopia (no green cones) | #0064EC | 0.022 |
| Tritanopia (no blue cones) | #00849E | 0.172 |
| Achromatopsia (no color) | #6C6C6C | 0.223 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #305FEF
#305FEF
oklch(54.5% 0.222 265.4)
- #8D6A00
#8D6A00
oklch(54.5% 0.112 85.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 #305FEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Azul #1D5DEC ΔE 0.015
- Neon Blue #4361EE ΔE 0.019
- Bright Blue #0165FC ΔE 0.028
- Cerulean Blue #056EEE ΔE 0.036
- Royal Blue #4169E1 ΔE 0.037
- Warm Blue #4B57DB ΔE 0.042
- Electric Blue #0652FF ΔE 0.044
- Clear Blue #247AFD ΔE 0.065
Use #305FEF 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.