#5267E2
Closest named color: Royal Blue (#4169E1). oklch(56.5% 0.187 271.8), rgb(82, 103, 226).
Aa
White text reads best on this color (4.77:1).
About this color
#5267E2 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.187 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.018 away. White text reads best on it, at 4.77:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.187) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.39:1 |
| White text | 4.77:1 |
Values
| HEX | #5267E2 |
| RGB | rgb(82, 103, 226) |
| HSL | hsl(231, 71%, 60%) |
| OKLCH | oklch(56.5% 0.187 271.8) |
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 #5267E2 | 4.77:1 | AA | Lc -78.2 | Fine for body text |
| Black text on #5267E2 | 4.39:1 | AA large text | Lc 31.3 | Non-text elements, placeholder text |
| #5267E2 text on white | 4.77:1 | AA | Lc 72.8 | Content text, not long reading |
| #5267E2 text on black | 4.39:1 | AA large text | Lc -28.9 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CED8F9
oklch(88.5% 0.047 272.1)
-
Step 300
300
#ADBEF8
oklch(80.9% 0.084 271.8)
-
Step 400
400
#839AF4
oklch(70.7% 0.134 271.7)
-
Step 500
500
#667EF0
oklch(63.1% 0.172 271.7)
-
Step 600
600 (this color)
#5267E2
oklch(56.5% 0.187 271.8)
-
Step 700
700
#4152C1
oklch(49.1% 0.174 271.8)
-
Step 800
800
#35449C
oklch(42.7% 0.144 271.6)
-
Step 900
900
#2E3A7C
oklch(37.6% 0.112 272.2)
-
Step 950
950
#1B2349
oklch(27.1% 0.071 272)
#5267E2 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) | #0079E6 | 0.059 |
| Deuteranopia (no green cones) | #006CE0 | 0.052 |
| Tritanopia (no blue cones) | #00849A | 0.157 |
| Achromatopsia (no color) | #737373 | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5267E2
#5267E2
oklch(56.5% 0.187 271.8)
- #8F7300
#8F7300
oklch(56.6% 0.116 91.8)
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 #5267E2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.018
- Neon Blue #4361EE ΔE 0.030
- Dark Periwinkle #665FD1 ΔE 0.039
- Warm Blue #4B57DB ΔE 0.041
- Slate Blue #6A5ACD ΔE 0.051
- Cerulean Blue #056EEE ΔE 0.052
- Light Indigo #6D5ACF ΔE 0.052
- Iris #6258C4 ΔE 0.058
Use #5267E2 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.