#5B81EB
Closest named color: Soft Blue (#6488EA). oklch(62.7% 0.165 266.8), rgb(91, 129, 235).
Aa
Black text reads best on this color (5.78:1).
About this color
#5B81EB is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.165 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.022 away. Black text reads best on it, at 5.78:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.165) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.78:1 |
| White text | 3.63:1 |
Values
| HEX | #5B81EB |
| RGB | rgb(91, 129, 235) |
| HSL | hsl(224, 78%, 64%) |
| OKLCH | oklch(62.7% 0.165 266.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 #5B81EB | 3.63:1 | AA large text | Lc -69.1 | Content text, not long reading |
| Black text on #5B81EB | 5.78:1 | AA | Lc 40.4 | Non-text elements, placeholder text |
| #5B81EB text on white | 3.63:1 | AA large text | Lc 63.6 | Content text, not long reading |
| #5B81EB text on black | 5.78:1 | AA | Lc -38.0 | 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
#CCD9F8
oklch(88.5% 0.045 267.4)
-
Step 300
300
#A9C0F6
oklch(81% 0.081 266.7)
-
Step 400
400
#7C9DF1
oklch(70.7% 0.129 266.8)
-
Step 500
500 (this color)
#5B81EB
oklch(62.7% 0.165 266.8)
-
Step 600
600
#4469DB
oklch(55.7% 0.179 266.9)
-
Step 700
700
#3657BE
oklch(49.2% 0.166 266.7)
-
Step 800
800
#2D4799
oklch(42.6% 0.138 267.1)
-
Step 900
900
#283D7A
oklch(37.8% 0.107 266.9)
-
Step 950
950
#172447
oklch(26.9% 0.068 266.6)
#5B81EB 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) | #4E8DEF | 0.031 |
| Deuteranopia (no green cones) | #3780E9 | 0.033 |
| Tritanopia (no blue cones) | #0099AB | 0.140 |
| Achromatopsia (no color) | #868686 | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B81EB
#5B81EB
oklch(62.7% 0.165 266.8)
- #AA8200
#AA8200
oklch(62.8% 0.128 86.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 #5B81EB, closest first.
No curated palette has a color within ΔE 0.04 of #5B81EB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.022
- Cornflower #6A79F7 ΔE 0.032
- Dark Sky Blue #448EE4 ΔE 0.041
- Chefchaouen Blue #4895EF ΔE 0.052
- Cornflower Blue #6495ED ΔE 0.055
- Dodger Blue #1E90FF ΔE 0.055
- Clear Blue #247AFD ΔE 0.057
- Lavender Blue #8B88F8 ΔE 0.069
Use #5B81EB 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.