#5F7BD9
Closest named color: Soft Blue (#6488EA). oklch(60.6% 0.146 269.2), rgb(95, 123, 217).
Aa
Black text reads best on this color (5.32:1).
About this color
#5F7BD9 is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.146 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.041 away. Black text reads best on it, at 5.32:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.146) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.32:1 |
| White text | 3.94:1 |
Values
| HEX | #5F7BD9 |
| RGB | rgb(95, 123, 217) |
| HSL | hsl(226, 62%, 61%) |
| OKLCH | oklch(60.6% 0.146 269.2) |
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 #5F7BD9 | 3.94:1 | AA large text | Lc -72.1 | Content text, not long reading |
| Black text on #5F7BD9 | 5.32:1 | AA | Lc 37.4 | Non-text elements, placeholder text |
| #5F7BD9 text on white | 3.94:1 | AA large text | Lc 66.6 | Content text, not long reading |
| #5F7BD9 text on black | 5.32:1 | AA | Lc -35.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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E4EAF8
oklch(93.7% 0.02 267.3)
-
Step 200
200
#CED9F4
oklch(88.5% 0.039 267.9)
-
Step 300
300
#AEBFF0
oklch(80.9% 0.072 269.8)
-
Step 400
400
#849DE8
oklch(70.7% 0.114 269.3)
-
Step 500
500 (this color)
#5F7BD9
oklch(60.6% 0.146 269.2)
-
Step 600
600
#4E6ACF
oklch(55.6% 0.159 269.1)
-
Step 700
700
#4058B3
oklch(49.1% 0.147 269.3)
-
Step 800
800
#344891
oklch(42.6% 0.123 269.1)
-
Step 900
900
#2D3D74
oklch(37.6% 0.096 269.2)
-
Step 950
950
#1B2444
oklch(27% 0.061 270.1)
#5F7BD9 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) | #5286DD | 0.030 |
| Deuteranopia (no green cones) | #427BD7 | 0.031 |
| Tritanopia (no blue cones) | #0E909F | 0.132 |
| Achromatopsia (no color) | #808080 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F7BD9
#5F7BD9
oklch(60.6% 0.146 269.2)
- #A07D00
#A07D00
oklch(60.6% 0.124 88.9)
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 #5F7BD9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.041
- Cornflower #6A79F7 ΔE 0.049
- Dark Sky Blue #448EE4 ΔE 0.052
- Windows Blue #3778BF ΔE 0.060
- Royal Blue #4169E1 ΔE 0.063
- Cool Blue #4984B8 ΔE 0.066
- Water Blue #0E87CC ΔE 0.066
- Medium Slate Blue #7B68EE ΔE 0.067
Use #5F7BD9 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.