#5F75DA
Closest named color: Cornflower (#6A79F7). oklch(59.5% 0.155 271.7), rgb(95, 117, 218).
Aa
Black text reads best on this color (5.04:1).
About this color
#5F75DA is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.155 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.047 away. Black text reads best on it, at 5.04:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.155) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.04:1 |
| White text | 4.16:1 |
Values
| HEX | #5F75DA |
| RGB | rgb(95, 117, 218) |
| HSL | hsl(229, 62%, 61%) |
| OKLCH | oklch(59.5% 0.155 271.7) |
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 #5F75DA | 4.16:1 | AA large text | Lc -73.9 | Content text, not long reading |
| Black text on #5F75DA | 5.04:1 | AA | Lc 35.6 | Non-text elements, placeholder text |
| #5F75DA text on white | 4.16:1 | AA large text | Lc 68.4 | Content text, not long reading |
| #5F75DA text on black | 5.04:1 | AA | Lc -33.2 | 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
#E4E9F9
oklch(93.5% 0.022 272.1)
-
Step 200
200
#CFD8F6
oklch(88.5% 0.042 272.3)
-
Step 300
300
#AFBEF3
oklch(80.9% 0.077 272.3)
-
Step 400
400
#869BEC
oklch(70.7% 0.121 271.9)
-
Step 500
500 (this color)
#5F75DA
oklch(59.5% 0.155 271.7)
-
Step 600
600
#5267D4
oklch(55.5% 0.168 271.7)
-
Step 700
700
#4355B8
oklch(49.1% 0.157 271.7)
-
Step 800
800
#374695
oklch(42.7% 0.13 271.7)
-
Step 900
900
#2F3C77
oklch(37.8% 0.101 271.4)
-
Step 950
950
#1C2345
oklch(26.9% 0.064 272.7)
#5F75DA 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) | #4682DE | 0.039 |
| Deuteranopia (no green cones) | #3577D8 | 0.042 |
| Tritanopia (no blue cones) | #0F8B9D | 0.137 |
| Achromatopsia (no color) | #7C7C7C | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F75DA
#5F75DA
oklch(59.5% 0.155 271.7)
- #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 #5F75DA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.047
- Royal Blue #4169E1 ΔE 0.051
- Soft Blue #6488EA ΔE 0.053
- Dark Periwinkle #665FD1 ΔE 0.054
- Medium Slate Blue #7B68EE ΔE 0.058
- Windows Blue #3778BF ΔE 0.061
- Dark Sky Blue #448EE4 ΔE 0.066
- Light Indigo #6D5ACF ΔE 0.066
Use #5F75DA 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.