#5274E3
Closest named color: Royal Blue (#4169E1). oklch(59.1% 0.173 268), rgb(82, 116, 227).
Aa
Black text reads best on this color (4.96:1).
About this color
#5274E3 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.173 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.036 away. Black text reads best on it, at 4.96:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.173) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.96:1 |
| White text | 4.22:1 |
Values
| HEX | #5274E3 |
| RGB | rgb(82, 116, 227) |
| HSL | hsl(226, 72%, 61%) |
| OKLCH | oklch(59.1% 0.173 268) |
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 #5274E3 | 4.22:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #5274E3 | 4.96:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #5274E3 text on white | 4.22:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #5274E3 text on black | 4.96:1 | AA | Lc -32.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 600.
-
Step 50
50
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAF9
oklch(93.6% 0.022 265.8)
-
Step 200
200
#CDD9F7
oklch(88.6% 0.043 268.2)
-
Step 300
300
#ABBFF4
oklch(80.8% 0.078 268.5)
-
Step 400
400
#7F9DEE
oklch(70.7% 0.124 267.7)
-
Step 500
500
#6082E9
oklch(63.1% 0.159 267.9)
-
Step 600
600 (this color)
#5274E3
oklch(59.1% 0.173 268)
-
Step 700
700
#3A57BA
oklch(49.1% 0.16 267.8)
-
Step 800
800
#304797
oklch(42.6% 0.134 268.2)
-
Step 900
900
#2A3D78
oklch(37.7% 0.103 267.8)
-
Step 950
950
#192446
oklch(27% 0.065 268.3)
#5274E3 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) | #3882E7 | 0.038 |
| Deuteranopia (no green cones) | #1275E1 | 0.045 |
| Tritanopia (no blue cones) | #008EA1 | 0.145 |
| Achromatopsia (no color) | #7B7B7B | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5274E3
#5274E3
oklch(59.1% 0.173 268)
- #9C7800
#9C7800
oklch(59.1% 0.121 87.5)
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 #5274E3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.036
- Cornflower #6A79F7 ΔE 0.045
- Clear Blue #247AFD ΔE 0.050
- Neon Blue #4361EE ΔE 0.055
- Cerulean Blue #056EEE ΔE 0.056
- Dark Periwinkle #665FD1 ΔE 0.058
- Soft Blue #6488EA ΔE 0.058
- Medium Slate Blue #7B68EE ΔE 0.061
Use #5274E3 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.