#5F76DF
Closest named color: Cornflower (#6A79F7). oklch(60% 0.161 271.5), rgb(95, 118, 223).
Aa
Black text reads best on this color (5.14:1).
About this color
#5F76DF is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.161 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.040 away. Black text reads best on it, at 5.14:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.161) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.14:1 |
| White text | 4.08:1 |
Values
| HEX | #5F76DF |
| RGB | rgb(95, 118, 223) |
| HSL | hsl(229, 67%, 62%) |
| OKLCH | oklch(60% 0.161 271.5) |
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 #5F76DF | 4.08:1 | AA large text | Lc -73.3 | Content text, not long reading |
| Black text on #5F76DF | 5.14:1 | AA | Lc 36.3 | Non-text elements, placeholder text |
| #5F76DF text on white | 4.08:1 | AA large text | Lc 67.8 | Content text, not long reading |
| #5F76DF text on black | 5.14:1 | AA | Lc -33.9 | 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
#E4E9FA
oklch(93.5% 0.024 272.8)
-
Step 200
200
#CED8F7
oklch(88.4% 0.044 271.3)
-
Step 300
300
#AEBEF4
oklch(80.8% 0.079 271.7)
-
Step 400
400
#849BEF
oklch(70.7% 0.126 271.3)
-
Step 500
500 (this color)
#5F76DF
oklch(60% 0.161 271.5)
-
Step 600
600
#5166D8
oklch(55.6% 0.175 271.7)
-
Step 700
700
#4254BB
oklch(49% 0.163 271.6)
-
Step 800
800
#364697
oklch(42.8% 0.133 271.3)
-
Step 900
900
#2E3B79
oklch(37.6% 0.106 271.5)
-
Step 950
950
#1B2347
oklch(27% 0.068 271.8)
#5F76DF 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) | #4383E3 | 0.040 |
| Deuteranopia (no green cones) | #3078DD | 0.045 |
| Tritanopia (no blue cones) | #008EA0 | 0.143 |
| Achromatopsia (no color) | #7E7E7E | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F76DF
#5F76DF
oklch(60% 0.161 271.5)
- #9B7D00
#9B7D00
oklch(60.1% 0.123 91.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 #5F76DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.040
- Soft Blue #6488EA ΔE 0.048
- Royal Blue #4169E1 ΔE 0.051
- Medium Slate Blue #7B68EE ΔE 0.054
- Dark Periwinkle #665FD1 ΔE 0.058
- Dark Sky Blue #448EE4 ΔE 0.063
- Clear Blue #247AFD ΔE 0.064
- Windows Blue #3778BF ΔE 0.067
Use #5F76DF 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.