#5274ED
Closest named color: Cornflower (#6A79F7). oklch(59.8% 0.186 268.5), rgb(82, 116, 237).
Aa
Black text reads best on this color (5.07:1).
About this color
#5274ED is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.186 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.036 away. Black text reads best on it, at 5.07:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.186) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #5274ED |
| RGB | rgb(82, 116, 237) |
| HSL | hsl(227, 81%, 63%) |
| OKLCH | oklch(59.8% 0.186 268.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 #5274ED | 4.13:1 | AA large text | Lc -73.6 | Content text, not long reading |
| Black text on #5274ED | 5.07:1 | AA | Lc 36.0 | Non-text elements, placeholder text |
| #5274ED text on white | 4.13:1 | AA large text | Lc 68.1 | Content text, not long reading |
| #5274ED text on black | 5.07:1 | AA | Lc -33.6 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E2EAFC
oklch(93.6% 0.026 266.6)
-
Step 200
200
#CBD9FC
oklch(88.6% 0.051 268.1)
-
Step 300
300
#A8BFFC
oklch(80.9% 0.09 268.4)
-
Step 400
400
#7B9BFB
oklch(70.7% 0.145 268.6)
-
Step 500
500 (this color)
#5274ED
oklch(59.8% 0.186 268.5)
-
Step 600
600
#4364E7
oklch(55.6% 0.202 268.3)
-
Step 700
700
#3652C9
oklch(49.1% 0.187 268.4)
-
Step 800
800
#2C44A3
oklch(42.8% 0.156 268.2)
-
Step 900
900
#273A81
oklch(37.6% 0.122 268.6)
-
Step 950
950
#17234C
oklch(27.1% 0.077 268.6)
#5274ED 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) | #2A84F1 | 0.046 |
| Deuteranopia (no green cones) | #0076EB | 0.047 |
| Tritanopia (no blue cones) | #0090A5 | 0.154 |
| Achromatopsia (no color) | #7D7D7D | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5274ED
#5274ED
oklch(59.8% 0.186 268.5)
- #9E7A00
#9E7A00
oklch(59.8% 0.122 87.9)
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 #5274ED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.036
- Royal Blue #4169E1 ΔE 0.039
- Clear Blue #247AFD ΔE 0.041
- Neon Blue #4361EE ΔE 0.051
- Cerulean Blue #056EEE ΔE 0.054
- Medium Slate Blue #7B68EE ΔE 0.057
- Soft Blue #6488EA ΔE 0.059
- Dark Periwinkle #665FD1 ΔE 0.064
Use #5274ED 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.