#5B81EF
Closest named color: Soft Blue (#6488EA). oklch(63% 0.17 267.1), rgb(91, 129, 239).
Aa
Black text reads best on this color (5.83:1).
About this color
#5B81EF is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.170 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.024 away. Black text reads best on it, at 5.83:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.170) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.83:1 |
| White text | 3.60:1 |
Values
| HEX | #5B81EF |
| RGB | rgb(91, 129, 239) |
| HSL | hsl(225, 82%, 65%) |
| OKLCH | oklch(63% 0.17 267.1) |
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 #5B81EF | 3.60:1 | AA large text | Lc -68.8 | Content text, not long reading |
| Black text on #5B81EF | 5.83:1 | AA | Lc 40.8 | Non-text elements, placeholder text |
| #5B81EF text on white | 3.60:1 | AA large text | Lc 63.3 | Content text, not long reading |
| #5B81EF text on black | 5.83:1 | AA | Lc -38.4 | 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
#E3EAFB
oklch(93.7% 0.024 267.9)
-
Step 200
200
#CBD9F9
oklch(88.5% 0.047 266.7)
-
Step 300
300
#A9C0F7
oklch(81% 0.082 266.9)
-
Step 400
400
#7B9DF4
oklch(70.8% 0.133 266.8)
-
Step 500
500 (this color)
#5B81EF
oklch(63% 0.17 267.1)
-
Step 600
600
#4368DE
oklch(55.7% 0.185 267)
-
Step 700
700
#3555C1
oklch(49% 0.173 267.2)
-
Step 800
800
#2C479C
oklch(42.8% 0.142 266.9)
-
Step 900
900
#273C7C
oklch(37.6% 0.112 267.2)
-
Step 950
950
#172448
oklch(27% 0.069 266.8)
#5B81EF 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) | #4B8EF3 | 0.034 |
| Deuteranopia (no green cones) | #3181ED | 0.036 |
| Tritanopia (no blue cones) | #009AAC | 0.145 |
| Achromatopsia (no color) | #878787 | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B81EF
#5B81EF
oklch(63% 0.17 267.1)
- #AA8300
#AA8300
oklch(63% 0.129 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 #5B81EF, closest first.
No curated palette has a color within ΔE 0.04 of #5B81EF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.024
- Cornflower #6A79F7 ΔE 0.029
- Dark Sky Blue #448EE4 ΔE 0.043
- Chefchaouen Blue #4895EF ΔE 0.052
- Dodger Blue #1E90FF ΔE 0.053
- Clear Blue #247AFD ΔE 0.054
- Cornflower Blue #6495ED ΔE 0.055
- Lavender Blue #8B88F8 ΔE 0.067
Use #5B81EF 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.