#5B82EA
Closest named color: Soft Blue (#6488EA). oklch(62.9% 0.162 266.4), rgb(91, 130, 234).
Aa
Black text reads best on this color (5.82:1).
About this color
#5B82EA is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.162 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.020 away. Black text reads best on it, at 5.82:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.162) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.82:1 |
| White text | 3.60:1 |
Values
| HEX | #5B82EA |
| RGB | rgb(91, 130, 234) |
| HSL | hsl(224, 77%, 64%) |
| OKLCH | oklch(62.9% 0.162 266.4) |
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 #5B82EA | 3.60:1 | AA large text | Lc -68.9 | Content text, not long reading |
| Black text on #5B82EA | 5.82:1 | AA | Lc 40.7 | Non-text elements, placeholder text |
| #5B82EA text on white | 3.60:1 | AA large text | Lc 63.4 | Content text, not long reading |
| #5B82EA text on black | 5.82:1 | AA | Lc -38.3 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFA
oklch(93.6% 0.023 266.9)
-
Step 200
200
#CCD9F7
oklch(88.5% 0.044 266.9)
-
Step 300
300
#A9C0F5
oklch(80.9% 0.079 266.4)
-
Step 400
400
#7C9DF0
oklch(70.6% 0.128 266.7)
-
Step 500
500 (this color)
#5B82EA
oklch(62.9% 0.162 266.4)
-
Step 600
600
#436AD9
oklch(55.7% 0.176 266.2)
-
Step 700
700
#3557BC
oklch(49% 0.164 266.3)
-
Step 800
800
#2C4898
oklch(42.7% 0.135 266.2)
-
Step 900
900
#273D79
oklch(37.6% 0.106 266.3)
-
Step 950
950
#172447
oklch(26.9% 0.068 266.6)
#5B82EA 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) | #518EEE | 0.031 |
| Deuteranopia (no green cones) | #3A81E8 | 0.031 |
| Tritanopia (no blue cones) | #009AAB | 0.139 |
| Achromatopsia (no color) | #878787 | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B82EA
#5B82EA
oklch(62.9% 0.162 266.4)
- #AB8200
#AB8200
oklch(62.9% 0.129 86.3)
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 #5B82EA, closest first.
No curated palette has a color within ΔE 0.04 of #5B82EA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.020
- Cornflower #6A79F7 ΔE 0.035
- Dark Sky Blue #448EE4 ΔE 0.038
- Chefchaouen Blue #4895EF ΔE 0.049
- Cornflower Blue #6495ED ΔE 0.052
- Dodger Blue #1E90FF ΔE 0.054
- Clear Blue #247AFD ΔE 0.059
- Lavender Blue #8B88F8 ΔE 0.068
Use #5B82EA 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.