#5F75D7
Closest named color: Cornflower (#6A79F7). oklch(59.3% 0.151 271.6), rgb(95, 117, 215).
Aa
Black text reads best on this color (5.01:1).
About this color
#5F75D7 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.151 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.051 away. Black text reads best on it, at 5.01:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.151) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.01:1 |
| White text | 4.18:1 |
Values
| HEX | #5F75D7 |
| RGB | rgb(95, 117, 215) |
| HSL | hsl(229, 60%, 61%) |
| OKLCH | oklch(59.3% 0.151 271.6) |
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 #5F75D7 | 4.18:1 | AA large text | Lc -74.2 | Content text, not long reading |
| Black text on #5F75D7 | 5.01:1 | AA | Lc 35.4 | Non-text elements, placeholder text |
| #5F75D7 text on white | 4.18:1 | AA large text | Lc 68.7 | Content text, not long reading |
| #5F75D7 text on black | 5.01:1 | AA | Lc -33.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 600.
-
Step 50
50
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E5E9F8
oklch(93.5% 0.021 274)
-
Step 200
200
#D0D8F3
oklch(88.5% 0.038 272.5)
-
Step 300
300
#B1BFED
oklch(81% 0.067 271.6)
-
Step 400
400
#889CE5
oklch(70.6% 0.11 271.7)
-
Step 500
500
#6C82DD
oklch(63.1% 0.139 271.7)
-
Step 600
600 (this color)
#5F75D7
oklch(59.3% 0.151 271.6)
-
Step 700
700
#4658AF
oklch(49.2% 0.139 271.6)
-
Step 800
800
#39488E
oklch(42.7% 0.117 271.6)
-
Step 900
900
#313D71
oklch(37.7% 0.09 271.7)
-
Step 950
950
#1D2442
oklch(27% 0.057 272.2)
#5F75D7 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) | #4881DB | 0.036 |
| Deuteranopia (no green cones) | #3877D5 | 0.040 |
| Tritanopia (no blue cones) | #178B9B | 0.136 |
| Achromatopsia (no color) | #7C7C7C | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F75D7
#5F75D7
oklch(59.3% 0.151 271.6)
- #997B00
#997B00
oklch(59.4% 0.122 91.6)
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 #5F75D7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.051
- Royal Blue #4169E1 ΔE 0.052
- Dark Periwinkle #665FD1 ΔE 0.054
- Soft Blue #6488EA ΔE 0.054
- Windows Blue #3778BF ΔE 0.058
- Medium Slate Blue #7B68EE ΔE 0.061
- Light Indigo #6D5ACF ΔE 0.066
- Dark Sky Blue #448EE4 ΔE 0.066
Use #5F75D7 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.