#5A9BFB
Closest named color: Cornflower Blue (#6495ED). oklch(69% 0.157 258.1), rgb(90, 155, 251).
Aa
Black text reads best on this color (7.51:1).
About this color
#5A9BFB is a medium-light, vivid blue. In OKLCH its lightness is 69%, its chroma 0.157 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.024 away. Black text reads best on it, at 7.51:1.
| Hue family | Blues |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.157) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.51:1 |
| White text | 2.79:1 |
Values
| HEX | #5A9BFB |
| RGB | rgb(90, 155, 251) |
| HSL | hsl(216, 95%, 67%) |
| OKLCH | oklch(69% 0.157 258.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 #5A9BFB | 2.79:1 | Fails | Lc -58.8 | Large or bold text, headings |
| Black text on #5A9BFB | 7.51:1 | AAA | Lc 50.5 | Large or bold text, headings |
| #5A9BFB text on white | 2.79:1 | Fails | Lc 53.5 | Large or bold text, headings |
| #5A9BFB text on black | 7.51:1 | AAA | Lc -48.3 | Large or bold text, headings |
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 400.
-
Step 50
50
#F0F6FF
oklch(97.1% 0.014 258.3)
-
Step 100
100
#DEEBFD
oklch(93.6% 0.028 256.5)
-
Step 200
200
#C3DBFE
oklch(88.5% 0.055 257.7)
-
Step 300
300
#9AC3FF
oklch(81% 0.096 257.8)
-
Step 400
400 (this color)
#5A9BFB
oklch(69% 0.157 258.1)
-
Step 500
500
#2D85FF
oklch(63.2% 0.199 257.9)
-
Step 600
600
#006CE8
oklch(55.6% 0.205 258)
-
Step 700
700
#005AC5
oklch(49.1% 0.183 258.1)
-
Step 800
800
#0049A3
oklch(42.6% 0.159 258.2)
-
Step 900
900
#083E85
oklch(37.7% 0.131 258)
-
Step 950
950
#08254E
oklch(27% 0.083 258)
#5A9BFB 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) | #70A3FF | 0.033 |
| Deuteranopia (no green cones) | #5994F9 | 0.018 |
| Tritanopia (no blue cones) | #00B1BF | 0.128 |
| Achromatopsia (no color) | #9B9B9B | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A9BFB
#5A9BFB
oklch(69% 0.157 258.1)
- #CB8E00
#CB8E00
oklch(68.9% 0.144 78.1)
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 #5A9BFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.024
- Chefchaouen Blue #4895EF ΔE 0.029
- Soft Blue #6488EA ΔE 0.051
- Dark Sky Blue #448EE4 ΔE 0.052
- Dodger Blue #1E90FF ΔE 0.053
- Periwinkle Blue #8F99FB ΔE 0.059
- Lavender Blue #8B88F8 ΔE 0.068
- Perrywinkle #8F8CE7 ΔE 0.069
Use #5A9BFB 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.