#5274F0
Closest named color: Cornflower (#6A79F7). oklch(60% 0.19 268.6), rgb(82, 116, 240).
Aa
Black text reads best on this color (5.11:1).
About this color
#5274F0 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.190 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.035 away. Black text reads best on it, at 5.11:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.190) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.11:1 |
| White text | 4.10:1 |
Values
| HEX | #5274F0 |
| RGB | rgb(82, 116, 240) |
| HSL | hsl(227, 84%, 63%) |
| OKLCH | oklch(60% 0.19 268.6) |
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 #5274F0 | 4.10:1 | AA large text | Lc -73.3 | Content text, not long reading |
| Black text on #5274F0 | 5.11:1 | AA | Lc 36.3 | Non-text elements, placeholder text |
| #5274F0 text on white | 4.10:1 | AA large text | Lc 67.8 | Content text, not long reading |
| #5274F0 text on black | 5.11:1 | AA | Lc -33.8 | 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
#E2EAFD
oklch(93.7% 0.027 267.5)
-
Step 200
200
#CBD9FC
oklch(88.6% 0.051 268.1)
-
Step 300
300
#A7BFFE
oklch(81% 0.093 268.2)
-
Step 400
400
#7A9BFD
oklch(70.8% 0.148 268.4)
-
Step 500
500 (this color)
#5274F0
oklch(60% 0.19 268.6)
-
Step 600
600
#4363EA
oklch(55.6% 0.207 268.6)
-
Step 700
700
#3551CB
oklch(49.1% 0.191 268.4)
-
Step 800
800
#2C43A4
oklch(42.6% 0.159 268.6)
-
Step 900
900
#273A82
oklch(37.7% 0.123 268.7)
-
Step 950
950
#17234C
oklch(27.1% 0.077 268.6)
#5274F0 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) | #2585F4 | 0.048 |
| Deuteranopia (no green cones) | #0076ED | 0.047 |
| Tritanopia (no blue cones) | #0091A7 | 0.156 |
| Achromatopsia (no color) | #7D7D7D | 0.190 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5274F0
#5274F0
oklch(60% 0.19 268.6)
- #9E7B00
#9E7B00
oklch(60% 0.123 88.6)
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 #5274F0, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.035
- Clear Blue #247AFD ΔE 0.039
- Royal Blue #4169E1 Δ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.067
Use #5274F0 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.