#315FEC
Closest named color: Azul (#1D5DEC). oklch(54.3% 0.218 265.5), rgb(49, 95, 236).
Aa
White text reads best on this color (5.27:1).
About this color
#315FEC is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.218 and its hue 266°. 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.27:1.
| Hue family | Blues |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.218) |
| Temperature | cool |
| Nearest name | Azul (#1D5DEC) |
| Black text | 3.97:1 |
| White text | 5.27:1 |
Values
| HEX | #315FEC |
| RGB | rgb(49, 95, 236) |
| HSL | hsl(225, 83%, 56%) |
| OKLCH | oklch(54.3% 0.218 265.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 #315FEC | 5.27:1 | AA | Lc -80.9 | Fine for body text |
| Black text on #315FEC | 3.97:1 | AA large text | Lc 28.5 | Dividers and decoration only |
| #315FEC text on white | 5.27:1 | AA | Lc 75.5 | Fine for body text |
| #315FEC text on black | 3.97:1 | AA large text | Lc -26.2 | 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
#F1F5FF
oklch(97% 0.014 268.5)
-
Step 100
100
#E1EAFE
oklch(93.6% 0.029 266.4)
-
Step 200
200
#C8D9FE
oklch(88.5% 0.054 265.8)
-
Step 300
300
#A3C0FF
oklch(80.9% 0.095 265.2)
-
Step 400
400
#739CFF
oklch(70.7% 0.152 265.7)
-
Step 500
500
#4F7FFF
oklch(63.1% 0.197 265.6)
-
Step 600
600 (this color)
#315FEC
oklch(54.3% 0.218 265.5)
-
Step 700
700
#2851D1
oklch(49.1% 0.203 265.5)
-
Step 800
800
#2243A9
oklch(42.6% 0.168 265.7)
-
Step 900
900
#1F3A86
oklch(37.6% 0.132 265.6)
-
Step 950
950
#13234E
oklch(27% 0.082 265.8)
#315FEC 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) | #0075F1 | 0.052 |
| Deuteranopia (no green cones) | #0063E9 | 0.022 |
| Tritanopia (no blue cones) | #00839C | 0.170 |
| Achromatopsia (no color) | #6C6C6C | 0.219 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #315FEC
#315FEC
oklch(54.3% 0.218 265.5)
- #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 #315FEC, 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.032
- Royal Blue #4169E1 ΔE 0.035
- Cerulean Blue #056EEE ΔE 0.036
- Warm Blue #4B57DB ΔE 0.038
- Electric Blue #0652FF ΔE 0.047
- Clear Blue #247AFD ΔE 0.067
Use #315FEC 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.