#5F7ADF
Closest named color: Soft Blue (#6488EA). oklch(60.8% 0.156 270), rgb(95, 122, 223).
Aa
Black text reads best on this color (5.33:1).
About this color
#5F7ADF is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.156 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.039 away. Black text reads best on it, at 5.33:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.156) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.33:1 |
| White text | 3.93:1 |
Values
| HEX | #5F7ADF |
| RGB | rgb(95, 122, 223) |
| HSL | hsl(227, 67%, 62%) |
| OKLCH | oklch(60.8% 0.156 270) |
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 #5F7ADF | 3.93:1 | AA large text | Lc -72.0 | Content text, not long reading |
| Black text on #5F7ADF | 5.33:1 | AA | Lc 37.6 | Non-text elements, placeholder text |
| #5F7ADF text on white | 3.93:1 | AA large text | Lc 66.5 | Content text, not long reading |
| #5F7ADF text on black | 5.33:1 | AA | Lc -35.1 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4EAF9
oklch(93.7% 0.021 268.4)
-
Step 200
200
#CED8F6
oklch(88.4% 0.043 270.9)
-
Step 300
300
#ADBFF3
oklch(80.9% 0.076 269.8)
-
Step 400
400
#839CED
oklch(70.7% 0.122 270)
-
Step 500
500 (this color)
#5F7ADF
oklch(60.8% 0.156 270)
-
Step 600
600
#4E68D5
oklch(55.6% 0.17 270)
-
Step 700
700
#3F56B9
oklch(49.1% 0.158 269.8)
-
Step 800
800
#344795
oklch(42.7% 0.13 269.8)
-
Step 900
900
#2D3C77
oklch(37.6% 0.102 270.2)
-
Step 950
950
#1A2446
oklch(27.1% 0.065 269.4)
#5F7ADF 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) | #4B86E3 | 0.034 |
| Deuteranopia (no green cones) | #397BDD | 0.037 |
| Tritanopia (no blue cones) | #0091A2 | 0.139 |
| Achromatopsia (no color) | #808080 | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F7ADF
#5F7ADF
oklch(60.8% 0.156 270)
- #9F7E00
#9F7E00
oklch(60.7% 0.124 90.2)
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 #5F7ADF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.039
- Cornflower #6A79F7 ΔE 0.039
- Dark Sky Blue #448EE4 ΔE 0.054
- Royal Blue #4169E1 ΔE 0.059
- Medium Slate Blue #7B68EE ΔE 0.061
- Clear Blue #247AFD ΔE 0.065
- Windows Blue #3778BF ΔE 0.066
- Dark Periwinkle #665FD1 ΔE 0.067
Use #5F7ADF 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.